'Android. How to increase padding between bottom navigation view icons?
I'm using BottomNavigationView and I need to increase space between navigation view icons. Here is mo bottom navigation:
<com.google.android.material.bottomnavigation.BottomNavigationView
android:id="@+id/bottomNavigation"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:background="@drawable/bg_navigation_bottom"
android:paddingHorizontal="32dp"
app:itemBackground="@drawable/bg_navigation_item"
app:itemIconSize="28dp"
app:itemIconTint="@color/green"
app:labelVisibilityMode="unlabeled"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:menu="@menu/bottom_nav_menu" />
And I get the following result:
But expected:
I need to increase padding between bottom navigation view icons. I did not find the required attribute to set the padding. Is it possible to do it ?
Please help me.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|


