From 9deaff91810029f5090f5e69daf68775180a37a5 Mon Sep 17 00:00:00 2001 From: arkon Date: Thu, 12 Mar 2020 20:12:48 -0400 Subject: [PATCH] Dark snackbar in dark themes (fixes #2699) --- app/src/main/res/drawable/snackbar_bg.xml | 6 ++++++ app/src/main/res/values/styles.xml | 6 ++++++ app/src/main/res/values/themes.xml | 5 +++++ 3 files changed, 17 insertions(+) create mode 100644 app/src/main/res/drawable/snackbar_bg.xml diff --git a/app/src/main/res/drawable/snackbar_bg.xml b/app/src/main/res/drawable/snackbar_bg.xml new file mode 100644 index 000000000..b26126c71 --- /dev/null +++ b/app/src/main/res/drawable/snackbar_bg.xml @@ -0,0 +1,6 @@ + + + + + diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml index 32ed6c68e..f3b9d67d1 100644 --- a/app/src/main/res/values/styles.xml +++ b/app/src/main/res/values/styles.xml @@ -194,6 +194,11 @@ @drawable/list_item_selector + + + @@ -218,6 +223,7 @@ 48dip + diff --git a/app/src/main/res/values/themes.xml b/app/src/main/res/values/themes.xml index 388cff5c9..593b92e4b 100644 --- a/app/src/main/res/values/themes.xml +++ b/app/src/main/res/values/themes.xml @@ -50,6 +50,9 @@ @style/PreferenceThemeOverlay @style/Theme.AlertDialog.Light @style/Theme.AlertDialog.Dark + + + @style/Theme.Widget.Button.Borderless @style/TextAppearance.Widget.Button @style/TextAppearance.Widget.Menu @@ -110,6 +113,8 @@ @style/PreferenceThemeOverlay @style/Theme.AlertDialog.Dark @style/Theme.AlertDialog.Dark + @style/Theme.Widget.Snackbar + @style/Theme.Widget.Button.Borderless @style/TextAppearance.Widget.Button @style/TextAppearance.Widget.Menu