From 6e4a0ca1ea210fc22945c8e81750e31f6b06e2ba Mon Sep 17 00:00:00 2001 From: arkon Date: Sat, 22 Aug 2020 12:36:29 -0400 Subject: [PATCH] Update ActionMode styling (cherry picked from commit 4929e66eccbd53c35fc62a755015d03179163927) --- app/build.gradle | 2 +- app/src/main/res/values/styles.xml | 8 ++++++++ app/src/main/res/values/themes.xml | 6 ++++++ 3 files changed, 15 insertions(+), 1 deletion(-) diff --git a/app/build.gradle b/app/build.gradle index 22f71c00d..7e4257767 100755 --- a/app/build.gradle +++ b/app/build.gradle @@ -145,7 +145,7 @@ dependencies { implementation 'androidx.biometric:biometric:1.1.0-alpha02' implementation 'androidx.browser:browser:1.2.0' implementation 'androidx.cardview:cardview:1.0.0' - implementation 'androidx.constraintlayout:constraintlayout:2.0.0-rc1' + implementation 'androidx.constraintlayout:constraintlayout:2.0.0' implementation 'androidx.coordinatorlayout:coordinatorlayout:1.1.0' implementation 'androidx.core:core-ktx:1.4.0-alpha01' implementation 'androidx.multidex:multidex:2.0.1' diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml index 1a3cb90fb..b7e2ef1a9 100755 --- a/app/src/main/res/values/styles.xml +++ b/app/src/main/res/values/styles.xml @@ -14,6 +14,14 @@ ?attr/colorOnPrimary + + + + diff --git a/app/src/main/res/values/themes.xml b/app/src/main/res/values/themes.xml index b8757e992..cb961f95b 100755 --- a/app/src/main/res/values/themes.xml +++ b/app/src/main/res/values/themes.xml @@ -47,6 +47,9 @@ ?attr/colorPrimary true false + @style/Theme.ActionMode + @style/Theme.ActionMode.CloseButton + @drawable/ic_close_24dp @style/ThemeOverlay.MaterialComponents @style/Theme.Toolbar.Navigation @style/PreferenceThemeOverlay @@ -135,6 +138,9 @@ ?attr/colorPrimary true false + @style/Theme.ActionMode + @style/Theme.ActionMode.CloseButton + @drawable/ic_close_24dp @style/ThemeOverlay.MaterialComponents.Dark.ActionBar @style/ThemeOverlay.MaterialComponents @style/Theme.Toolbar.Navigation