How to change text padding in android bottom navigation view

后端 未结 1 994
野的像风
野的像风 2021-01-17 11:17

I am using the bottom navigation view for an android app. I have increased the size of my icon, but now the icon runs over the text. Here is what I see:

Her

相关标签:
1条回答
  • 2021-01-17 12:05

    You change the height of BottomNavigationView by overriding the below dimension

    <dimen name="design_bottom_navigation_height" tools:override="true">52dp</dimen>
    

    This will increase the height and bring down the text to avoid overlapping.

    0 讨论(0)
提交回复
热议问题