From 390b97b994ad64df0672ba0c1c1c292d0bfae876 Mon Sep 17 00:00:00 2001 From: panqihua <1029559041@qq.com> Date: Tue, 21 Apr 2020 12:19:45 +0800 Subject: [PATCH] =?UTF-8?q?=E9=AB=98=E4=BA=AE=E9=80=89=E4=B8=AD=E8=8F=9C?= =?UTF-8?q?=E5=8D=95=E9=A1=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../res/layout/main/layout/activity_main_menu.xml | 3 ++- app/src/main/res/values/colors.xml | 1 + app/src/main/res/values/styles.xml | 11 +++++++++++ 3 files changed, 14 insertions(+), 1 deletion(-) diff --git a/app/src/main/res/layout/main/layout/activity_main_menu.xml b/app/src/main/res/layout/main/layout/activity_main_menu.xml index 5dfb2ba..cde4748 100644 --- a/app/src/main/res/layout/main/layout/activity_main_menu.xml +++ b/app/src/main/res/layout/main/layout/activity_main_menu.xml @@ -36,7 +36,8 @@ android:layout_height="wrap_content" android:background="?android:attr/windowBackground" android:textAlignment="gravity" - app:itemTextColor="@color/colorAccent" + app:itemTextAppearanceActive="@style/selected_menu" + app:itemTextAppearanceInactive="@style/unselected_menu" app:labelVisibilityMode="labeled" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintLeft_toLeftOf="parent" diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml index d941cde..624d4a9 100644 --- a/app/src/main/res/values/colors.xml +++ b/app/src/main/res/values/colors.xml @@ -5,4 +5,5 @@ #03DAC5 #000000 #00BCD4 + #FFEB3B diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml index 619b443..d6e55c5 100644 --- a/app/src/main/res/values/styles.xml +++ b/app/src/main/res/values/styles.xml @@ -8,6 +8,17 @@ @color/colorAccent + + + + +