Use more Android menu items in one line

I am trying to use 6 Android menus in one line, but by default only 3 items are Passable. Is there any way to do this?

+6
source share
1 answer

No (unless you use the split action bar). From the doc:

  • The action buttons in the main action panel may not occupy more than 50% of the strip width. The action buttons on the bottom action panels can use the entire width.
  • Screen width in pixels density independent (dp) determines the number of elements that will be placed in the main action panel:
    • less than 360 dp = 2 icons
    • 360-499 dp = 3 icons
    • 500-599 dp = 4 icons
    • 600 dp and more = 5 icons
+4
source

Source: https://habr.com/ru/post/970012/


All Articles