-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Disable Text Under Icons #424
Comments
I have the same issue. |
same problem.. |
same for me |
Actually this library does support icon-only mode, though may be it's not straightforward. If you look into code, you'll notice that TextView's style (your label below icon) is: BB_BottomBarItem_TitleStyle (do not mix with text appearance - that's different). So you can override it like this:
One last bit to do is to change container gravity (container is what hosts tab views like imageview, textview etc)
The above works for default BottomBar settings (likely for other settings as well, but I wasn't testing). |
Wow, it actully work somehow, thanks @oradkovsky |
@roughike Please set the gravity to "center" in tab layouts. Also, would be nice to allow title hiding with xml attribute. |
Ok that seems to work, but the problem is now the icons are too small, is there a way to increase the icon size since there is more space available with the text removed? |
my issue is total opposite. i don't see any text under icons. |
app:bb_titleTextAppearance="@dimen/bottom_text" just override this with bottom_text=0dp |
A duplicate of #373, so closing this one. Expect to see this with the next release. |
Hello guys, can anyone tell me how to set bottombar to "only icon mode" ? I have the icons moved up, like the text was there, but i want to use only icons, having empty text there is not enought for it apparently, thanks in advance !
The text was updated successfully, but these errors were encountered: