aurelhubert / ahbottomnavigation

A library to reproduce the behavior of the Bottom Navigation guidelines from Material Design.
3.83k stars 682 forks source link

Bottom bar icons do not extend to fill navigation #371

Open clayjh opened 6 years ago

clayjh commented 6 years ago

When I rotate my phone the icons stay bunched up and do not extend and fill the bottom navigation bar. I've encountered this issue before with TabLayout, the fix was: app:tabMaxWidth="0dp" app:tab_gravity="fill"

Attached is my screenshot. bottom_bar

jahirfiquitiva commented 6 years ago

As per guidelines that's just how they are supposed to look like. Although I agree they should be slightly wider, but not filling the screen.

Maybe @aurelhubert could add an option for the title to appear besides the icon, instead of below of it, and then the bottom navigation would fill the screen.