From 972a595c74f27751ee24bea4a430513428a37142 Mon Sep 17 00:00:00 2001 From: arkon Date: Sat, 26 Sep 2020 19:18:58 -0400 Subject: [PATCH] Color selected tab with accent color when theme isn't blue --- app/src/main/res/color/tabs_selector.xml | 11 +++++++++++ app/src/main/res/drawable/tab_indicator.xml | 2 +- app/src/main/res/values/attrs.xml | 1 + app/src/main/res/values/styles.xml | 2 ++ app/src/main/res/values/themes.xml | 4 ++++ 5 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 app/src/main/res/color/tabs_selector.xml diff --git a/app/src/main/res/color/tabs_selector.xml b/app/src/main/res/color/tabs_selector.xml new file mode 100644 index 000000000..ea2bc90d6 --- /dev/null +++ b/app/src/main/res/color/tabs_selector.xml @@ -0,0 +1,11 @@ + + + + + + diff --git a/app/src/main/res/drawable/tab_indicator.xml b/app/src/main/res/drawable/tab_indicator.xml index 10b03769d..e9ae933c1 100644 --- a/app/src/main/res/drawable/tab_indicator.xml +++ b/app/src/main/res/drawable/tab_indicator.xml @@ -3,5 +3,5 @@ - + diff --git a/app/src/main/res/values/attrs.xml b/app/src/main/res/values/attrs.xml index b0e994eb5..5c0a006ca 100644 --- a/app/src/main/res/values/attrs.xml +++ b/app/src/main/res/values/attrs.xml @@ -15,5 +15,6 @@ + diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml index 529ba5f21..cbc6e3957 100644 --- a/app/src/main/res/values/styles.xml +++ b/app/src/main/res/values/styles.xml @@ -285,6 +285,8 @@