Same code Same attribute , But different output in the drawer menu item ! I am using two emulator one of which is API level 19 and other one is API level 23 , I marked out the different view of my output . In the drawer menu i used a header name which color should be what i expected but it appear in API 23 device but not in API 19 , And most of all , how can i customize this header item by changing its color ( only the marked area not others )
<android.support.design.widget.NavigationView
android:id="@+id/nav_view"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="start"
android:background="#000"
android:fitsSystemWindows="true"
app:headerLayout="@layout/drawer_header_layout"
app:itemIconTint="@color/colorPrimaryDark"
app:itemTextColor="#FFFFFF"
app:menu="@menu/drawer_item">
This is for menu item ...
xmlns:android="http://schemas.android.com/apk/res/android">
<item
android:id="@+id/essential"
android:checkable="false"
android:title="Essential">
<menu>
<item
android:id="@+id/blood_group"
android:checkable="true"
android:icon="@drawable/blood"
android:title="Blood Group">
</item>
<item
android:id="@+id/respected_halls"
android:checkable="true"
android:icon="@drawable/home"
android:title="Respected Halls">
</item>
https://i.stack.imgur.com/doaFM.png https://i.stack.imgur.com/nmWjq.png