how to change size of navigation view menu items and text?? How to change space between menu?

user3623979 picture user3623979 · Sep 3, 2015 · Viewed 15k times · Source

I am making a sliding menu. I have successfully created a navigation drawer and menu items inside the navigation view in groups. But I want to make the items closer to each other. Can I change the spacing or size of items and text? Please help...

Answer

bond007 picture bond007 · Sep 3, 2015

You can apply following Theme in your styles.xml for Navigation Drawer

<style name="NavigationTheme" parent="AppTheme">
    <item name="android:textSize">14sp</item>
    <item  name="android:textStyle">bold</item>
</style>

Apply this theme in Navigation Drawer

android:theme="@style/NavigationTheme"