Search code examples
javaandroidxmlandroid-studiobottomnavigationview

AHBottomNavigation change Behaviour with 5 items


I am using AHBottomNavigation This tutorail

When I use 3 items it shows name below but when i shows 5 items in bottom nav it shows only name of selected item.

Here you can check refernce image.


Solution

  • Here i am posting solution of my own question which i found, it works for me hope it will be helpful to others if needed someone.

    bottomNavigation.setForceTitlesDisplay(true);