Bottombar: Badge auto hide when tab selected

Created on 22 Sep 2016  路  12Comments  路  Source: roughike/BottomBar

Badge is auto hide when tab is selected.
How to make it appear even if the tab is selected?

Most helpful comment

You can use this until @roughike fixes it.

compile 'com.github.alashow:BottomBar:v2.0.4-donthidebadge'

All 12 comments

Is it fixed already? I have this error with last version (2.0.2)

No, sadly, you have to edit the source code of the library.

@jenzoned I guess that I have to create a new class with the same code and edit because gradle library cant edit

@ivandiazmolina yep, that's what I did. and it worked. :+1:

@jenzoned Can you copy me your code?

You can use this until @roughike fixes it.

compile 'com.github.alashow:BottomBar:v2.0.4-donthidebadge'

@alashow thank you for this library

I would also like to +1 for this support to be included in the base library. I will have to look into a work around as well until then.

Would be great if this could be fixed

This is fixed in the version 2.1.2.

For the whole BottomBar:

app:bb_badgesHideWhenActive="false"

For a single tab:

badgeHidesWhenActive="false"

@roughike is in version 2.1.2 not 2.1.1

Good catch, updated the comment.

Was this page helpful?
0 / 5 - 0 ratings