简体   繁体   中英

Changing items of bottom navigation bar in android

I wanted to add more than 5 items in the bottom navigation but it allows only 5 items. So I thought to add the screen from where user can change the items at the bottom navigation whichever he wants. I have seen this kind of behaviour in IOS application but haven't seen in any andorid app. is it possible?

You can now add more than 5 tabs , There's an easy way to do it now: Use Support Library 28 and just add app:labelVisibilityMode="labeled" to your BottomNavigationView XML declaration. or you can create a custom BottomNavigationView by creating your own XML layout. first try below code snippet.

Try out this solution: Solution

This exaple also helps you: Exaple

Hope this may helps you

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM