From 4b33e6b1e89420bf4d70ddc1d488a35a8dbae236 Mon Sep 17 00:00:00 2001 From: ErikWaegerle Date: Sat, 29 Aug 2020 13:46:58 +0200 Subject: [PATCH] Customize the activity_main_menu.xml layout Change text color and icon color. Customize to all layouts (land/small/xlarge) --- app/src/main/res/layout-land/activity_main_menu.xml | 2 ++ app/src/main/res/layout-small/activity_main_menu.xml | 2 ++ app/src/main/res/layout-xlarge/activity_main_menu.xml | 2 ++ app/src/main/res/layout/activity_main_menu.xml | 2 ++ 4 files changed, 8 insertions(+) diff --git a/app/src/main/res/layout-land/activity_main_menu.xml b/app/src/main/res/layout-land/activity_main_menu.xml index 2a8b1c1..0d7ef92 100644 --- a/app/src/main/res/layout-land/activity_main_menu.xml +++ b/app/src/main/res/layout-land/activity_main_menu.xml @@ -174,6 +174,8 @@ android:layout_gravity="start" android:fitsSystemWindows="true" android:background="?attr/lightestBackGround" + app:itemTextColor="?attr/menuTextColor" + app:itemIconTint="?attr/menuTextColor" app:menu="@menu/menu_drawer_main" app:headerLayout="@layout/nav_header" /> diff --git a/app/src/main/res/layout-small/activity_main_menu.xml b/app/src/main/res/layout-small/activity_main_menu.xml index f91322a..e81bc51 100644 --- a/app/src/main/res/layout-small/activity_main_menu.xml +++ b/app/src/main/res/layout-small/activity_main_menu.xml @@ -251,6 +251,8 @@ android:layout_gravity="start" android:fitsSystemWindows="true" android:background="?attr/lightestBackGround" + app:itemTextColor="?attr/menuTextColor" + app:itemIconTint="?attr/menuTextColor" app:menu="@menu/menu_drawer_main" app:headerLayout="@layout/nav_header" /> diff --git a/app/src/main/res/layout-xlarge/activity_main_menu.xml b/app/src/main/res/layout-xlarge/activity_main_menu.xml index b4e19ba..28086ae 100644 --- a/app/src/main/res/layout-xlarge/activity_main_menu.xml +++ b/app/src/main/res/layout-xlarge/activity_main_menu.xml @@ -250,6 +250,8 @@ android:layout_gravity="start" android:fitsSystemWindows="true" android:background="?attr/lightestBackGround" + app:itemTextColor="?attr/menuTextColor" + app:itemIconTint="?attr/menuTextColor" app:menu="@menu/menu_drawer_main" app:headerLayout="@layout/nav_header" /> diff --git a/app/src/main/res/layout/activity_main_menu.xml b/app/src/main/res/layout/activity_main_menu.xml index be2d892..880a4b5 100644 --- a/app/src/main/res/layout/activity_main_menu.xml +++ b/app/src/main/res/layout/activity_main_menu.xml @@ -246,6 +246,8 @@ android:layout_gravity="start" android:fitsSystemWindows="true" android:background="?attr/lightestBackGround" + app:itemTextColor="?attr/menuTextColor" + app:itemIconTint="?attr/menuTextColor" app:menu="@menu/menu_drawer_main" app:headerLayout="@layout/nav_header" />