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!
<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" />
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.