From 24e5a4d7ece848de3f7a0526261ce3b66baa74eb Mon Sep 17 00:00:00 2001 From: Ivan Iskandar <12537387+ivaniskandar@users.noreply.github.com> Date: Tue, 10 Aug 2021 04:47:57 +0700 Subject: [PATCH] Enable elevation overlay for MaterialSwitch (#5686) --- app/src/main/res/values-night/bools.xml | 1 + app/src/main/res/values/bools.xml | 1 + app/src/main/res/values/styles.xml | 11 +++++++++++ app/src/main/res/values/themes.xml | 1 + 4 files changed, 14 insertions(+) diff --git a/app/src/main/res/values-night/bools.xml b/app/src/main/res/values-night/bools.xml index a66e7bad2f..9d1b345c50 100644 --- a/app/src/main/res/values-night/bools.xml +++ b/app/src/main/res/values-night/bools.xml @@ -2,4 +2,5 @@ false false + true diff --git a/app/src/main/res/values/bools.xml b/app/src/main/res/values/bools.xml index ab52ba9e3f..2aa4297cff 100644 --- a/app/src/main/res/values/bools.xml +++ b/app/src/main/res/values/bools.xml @@ -2,4 +2,5 @@ true false + false diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml index 5814a6f7c6..84274ec8b2 100644 --- a/app/src/main/res/values/styles.xml +++ b/app/src/main/res/values/styles.xml @@ -261,6 +261,17 @@ ?attr/colorOnPrimary + + + + + + + diff --git a/app/src/main/res/values/themes.xml b/app/src/main/res/values/themes.xml index c95271d495..27e408124c 100644 --- a/app/src/main/res/values/themes.xml +++ b/app/src/main/res/values/themes.xml @@ -64,6 +64,7 @@ @style/Widget.Tachiyomi.TabLayout @style/Widget.Tachiyomi.BottomNavigationView @style/Widget.Tachiyomi.NavigationRailView + @style/Widget.Tachiyomi.Switch false false