How to change text add-on in the form of navigation in Android

I am using the bottom navigation view for an Android application. I increased the size of my icon, but now the icon runs through the text. Here is what I see:

enter image description here

Below is a diagram of the bottom navigation view according to google design docs:

enter image description here

Number 10, I want to change this addition, but when I look in the properties of the navigation bar, I don’t see where I can do this. How can I change it to a smaller number? In my bottom_layout.xml, I set my elements like this:

<item android:id="@+id/menu_notifications" android:title="Professionals" android:icon="@drawable/ic_action_name" app:showAsAction="ifRoom" /> 

How to change the bottom text pad?

thanks

+5
source share

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


All Articles