How to increase width of BottomNavigationView to fill the screen

后端 未结 3 1602
时光取名叫无心
时光取名叫无心 2021-01-07 15:01

How to increase width of BottomNavigationView menu. Below is the current scenario. I am not able to increase the width to complete screen.

Menu.xml

3条回答
  •  长情又很酷
    2021-01-07 15:46

    According to the BottomNavigationView specs: https://material.io/guidelines/components/bottom-navigation.html#specs-figure-caption-17

    Your navigation is correctly, but if anyway you want to expand the padding between the elements I recommend that you create your own bottom navigation using something like FlexBoxLayout: https://github.com/google/flexbox-layout

提交回复
热议问题