Skip to content
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

[BottomNavigationView] Allow to set more than 5 menu items #543

Closed
palatin opened this issue Aug 28, 2019 · 4 comments
Closed

[BottomNavigationView] Allow to set more than 5 menu items #543

palatin opened this issue Aug 28, 2019 · 4 comments

Comments

@palatin
Copy link

palatin commented Aug 28, 2019

Hello, I understand that for correct displaying, limitation of items in bottom navigation view were set. But why is it hardcoded and final? For example, for tablet in landscape mode I want to have 7 items. Can you please allow to override max menu items.

@palatin palatin changed the title Bottomnavigation Allow to set more then 5 menu items [BottomNavigationView] Allow to set more then 5 menu items Aug 28, 2019
@antonkovalyov351
Copy link

Up

@rmasarovic
Copy link

Hi i have same problem and only one way how to do it is fork code...

@drchen
Copy link
Contributor

drchen commented Jul 16, 2021

We have design concerns around allowing more items than 5. If you really need that, you can extend BottomNavigationView and override getMaxItemCount() to provide a different value than 5.

@NoorTech98
Copy link

same problem in bottom navigation view
solved the solution item code

@palatin palatin changed the title [BottomNavigationView] Allow to set more then 5 menu items [BottomNavigationView] Allow to set more than 5 menu items Dec 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants