Is there a way to reduce the space between the icon and text in the NavigationView when its built using a menu xml?
I\'ve tried to text android:drawablePadding
android:drawablePadding
With the NavigationView defined in the Material Components Library use the app:itemIconPadding attribute.
app:itemIconPadding
You can also define a custom style like:
The default value is defined by the @dimen/mtrl_navigation_item_icon_padding and it is 14dp.
@dimen/mtrl_navigation_item_icon_padding
14dp