Good day, what property should I change to change the color of the titles in the nav drawer? on the Internet I have found how to change the letter of the items but not the one of the title
This is the configuration code of the drawer, it has the option to change the color of the texts but not the titles
<android.support.design.widget.NavigationView
android:id="@+id/nav_view"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_gravity="start"
android:fitsSystemWindows="true"
android:background="@drawable/prueba"
app:itemIconTint="@color/colorPrimary2"
app:itemTextColor="@color/colorPrimary2"
app:headerLayout="@layout/nav_header_main_usuarios"
app:menu="@menu/activity_main_usuarios_drawer" />
You can change the color like this:
In your activity_main_usuarios_drawer.xml file add an identifier :
And in your main activity add this code, which will allow you to get the reference and be able to change the color of the text:
This way works for me, I hope you find it useful.