I use the code below and it works fine on api 23, but not on another device on api 16 (Jelly Bean).
Style:
<style name="NavigationViewStyle"> <item name="android:textSize">20sp</item> <item name="android:listPreferredItemHeightSmall">40dp</item> </style>
And then apply this style to NavigationView with app:theme
<android.support.design.widget.NavigationView ... ... app:theme="@style/NavigationViewStyle" ... ... </android.support.design.widget.NavigationView>
android android-styles navigation-drawer navigationview
jason
source share