From b9ea6e8d9699d734d8fe3b1d5c1e1ac2d7223f24 Mon Sep 17 00:00:00 2001 From: arkon Date: Thu, 12 Mar 2020 19:14:43 -0400 Subject: [PATCH] Fix common toolbar popup menu text color (fixes #2695) --- app/src/main/res/layout/common_action_toolbar.xml | 5 +++-- app/src/main/res/layout/main_activity.xml | 2 +- app/src/main/res/layout/reader_activity.xml | 2 +- app/src/main/res/layout/webview_activity.xml | 2 +- app/src/main/res/values/styles.xml | 12 ++++++++---- app/src/main/res/values/themes.xml | 4 ++++ 6 files changed, 18 insertions(+), 9 deletions(-) diff --git a/app/src/main/res/layout/common_action_toolbar.xml b/app/src/main/res/layout/common_action_toolbar.xml index 714240671..4d9c8c347 100644 --- a/app/src/main/res/layout/common_action_toolbar.xml +++ b/app/src/main/res/layout/common_action_toolbar.xml @@ -4,7 +4,7 @@ android:layout_width="match_parent" android:layout_height="wrap_content"> - @@ -20,6 +21,6 @@ android:layout_width="match_parent" android:layout_height="match_parent" /> - + diff --git a/app/src/main/res/layout/main_activity.xml b/app/src/main/res/layout/main_activity.xml index c7820fced..cbb080b38 100644 --- a/app/src/main/res/layout/main_activity.xml +++ b/app/src/main/res/layout/main_activity.xml @@ -16,7 +16,7 @@ android:layout_width="match_parent" android:layout_height="wrap_content"> - - - ?android:attr/textColorHint + + + + @@ -189,10 +197,6 @@ - - diff --git a/app/src/main/res/values/themes.xml b/app/src/main/res/values/themes.xml index c1830859e..388cff5c9 100644 --- a/app/src/main/res/values/themes.xml +++ b/app/src/main/res/values/themes.xml @@ -22,6 +22,7 @@ @color/textColorPrimaryDark @color/dialogLight @color/textColorPrimaryLight + @color/textColorPrimaryLight @color/colorAccentLight @@ -50,6 +51,7 @@ @style/Theme.AlertDialog.Light @style/Theme.AlertDialog.Dark @style/TextAppearance.Widget.Button + @style/TextAppearance.Widget.Menu @drawable/library_item_selector_light @@ -76,6 +78,7 @@ @color/textColorPrimaryDark @color/dialogDark @color/textColorPrimaryDark + @color/textColorPrimaryDark @color/colorAccentDark @@ -108,6 +111,7 @@ @style/Theme.AlertDialog.Dark @style/Theme.AlertDialog.Dark @style/TextAppearance.Widget.Button + @style/TextAppearance.Widget.Menu ?attr/colorSurface