Comments (7)
I wonder to know it too.
from tabdrawer.
When you click on another tab with sub-items, you actually don't select it yet.
That's why the actual (previous selected) tab is still kind-of active. (inactiveSelected)
So i planned to give it a darker color of selected background color as inactiveSelected
color
The arguments for the setTabBackgroundColors() and setBackgroundColors() are as follows:
(DEFAULT_COLOR, SELECTED_COLOR, INACTIVE_SELECTED_COLOR)
You can make its inactiveSelected color as the default (unselected) color.
For all Tabs:
TabDrawerData
.setTabBackgroundColors(DEFAULT_COLOR, SELECTED_COLOR, DEFAULT_COLOR);
For a specific Tab:
Tab
.setBackgroundColors(DEFAULT_COLOR, SELECTED_COLOR, DEFAULT_COLOR);
from tabdrawer.
Ok Thankx. It works.
from tabdrawer.
When we popBackStackImmediate() all fragments its will be returned to first page... but tab is still selected to previous one. can we implement with onBackPressed() to select first tab.
from tabdrawer.
Good catch! Thanks.
I will add a method to select a tab manually, in the coming release.
from tabdrawer.
Oh I'm waiting for your new release... because i need to submit my app very soon 😉😉😉
from tabdrawer.
You need to change TabDrawer's version to 1.2.0 in your build.gradle file.
Then you can use tabDrawer.setSelectedTab(tabPosition, itemPosition, false)
from tabdrawer.
Related Issues (4)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tabdrawer.