BottomBar icon indicating copy to clipboard operation
BottomBar copied to clipboard

Why setActiveTabColor works on at most three tabs?

Open HighFlyer13 opened this issue 10 years ago • 6 comments

Hello!

Could you explain this limitation?

HighFlyer13 avatar Mar 24 '16 10:03 HighFlyer13

Because when using more than three tabs, the entire BottomBar background is non-white, so the all tabs icon and text colors are white.

roughike avatar Mar 24 '16 15:03 roughike

Why BottonBar background can't be white with four tabs? Can't find this restriction on bottom navigation spec page.

HighFlyer13 avatar Mar 24 '16 16:03 HighFlyer13

I re-read the spec, seems you're right.

I'll make the limitation optional in the next versions.

roughike avatar Mar 24 '16 16:03 roughike

Yep, This hasn't been changed as of yet and I looking forward to be able to have white background with four tabs as well. Or be able to choose when to activate the color change.

Thanks! Keep up the good work! :)

grocaDW avatar Apr 07 '16 11:04 grocaDW

Now partially (you lose the shifting mode benefits) possible in version 1.3.2.

// Show all titles all the time.
mBottomBar.useFixedMode();
mBottomBar.setActiveTabColor("#FF0000");

roughike avatar Apr 08 '16 18:04 roughike

This and much more customization options are now possible in the newest version (2.0 and up)!

roughike avatar Aug 21 '16 07:08 roughike