Changing text color of menu heading title item in navigation drawer

U

Umar Saleem

Guest
I'm trying to implement dark mode in my application. I've implemented on menu item. It is changing the color but what I want is to change the color of heading as well because when dark mode is implemented the heading menu is hidden as the color is light grey.

Navigation Menu:

<android.support.design.widget.NavigationView
android:id="@+id/navigation"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_gravity="start"
android:background="?attr/bgColor"
app:itemTextColor="?attr/textColor"
app:headerLayout="@layout/nav_header_home"
app:menu="@menu/nav_items" />


Light Theme

Dark Theme

Continue reading...
 
Top