0

I have this part of the code in drawer.xml.

<item android:id="@+id/navigation_item1"
            android:checkable="true"
            android:title="Map"
            android:textColor="#FFFFFF"
            android:icon="@mipmap/ic_launcher"/>

I want to change the color of "Map" to white. I tried android::textColor, it doesn't work. Can I get some help?

Thanks!

kevin
  • 309
  • 2
  • 12

1 Answers1

0
<android.support.design.widget.NavigationView
    android:id="@+id/navigation_view"
    android:layout_height="match_parent"
    android:layout_width="match_parent"
    android:layout_gravity="start"
    app:headerLayout="@layout/header"
    app:itemTextColor="#ffffff"
    app:menu="@menu/drawer" />
JP Ventura
  • 5,564
  • 6
  • 52
  • 69