diff options
author | TacoTheDank <SkytkRSfan3895@gmail.com> | 2021-10-24 17:30:34 -0400 |
---|---|---|
committer | TacoTheDank <SkytkRSfan3895@gmail.com> | 2021-10-24 17:30:34 -0400 |
commit | c6da8f5c7bbb2d2adae314b0fbf04dac613954bb (patch) | |
tree | 5e5cbbbc6654c90b748f6d91f2cc3673575e15de /core | |
parent | a4a9a0f4ffb11ffe80b839f32eda5b4e3488a1bb (diff) | |
download | AntennaPod-c6da8f5c7bbb2d2adae314b0fbf04dac613954bb.zip |
Make navigation bar color match theming
Diffstat (limited to 'core')
-rw-r--r-- | core/src/main/res/values-v21/styles.xml | 3 | ||||
-rw-r--r-- | core/src/main/res/values-v23/styles.xml | 3 | ||||
-rw-r--r-- | core/src/main/res/values-v27/styles.xml | 11 | ||||
-rw-r--r-- | core/src/main/res/values/colors.xml | 1 |
4 files changed, 18 insertions, 0 deletions
diff --git a/core/src/main/res/values-v21/styles.xml b/core/src/main/res/values-v21/styles.xml index 996b16f5e..349ca3213 100644 --- a/core/src/main/res/values-v21/styles.xml +++ b/core/src/main/res/values-v21/styles.xml @@ -4,14 +4,17 @@ <item name="android:windowContentTransitions">true</item> <!-- To make icons visible --> <item name="android:statusBarColor">@color/grey600</item> + <item name="android:navigationBarColor">@color/grey600</item> </style> <style name="Theme.AntennaPod.Dark" parent="Theme.Base.AntennaPod.Dark"> <item name="android:windowContentTransitions">true</item> <item name="android:statusBarColor">@color/background_darktheme</item> + <item name="android:navigationBarColor">@color/background_darktheme</item> </style> <style name="Theme.AntennaPod.TrueBlack" parent="Theme.Base.AntennaPod.TrueBlack"> <item name="android:statusBarColor">@color/black</item> + <item name="android:navigationBarColor">@color/black</item> </style> </resources>
\ No newline at end of file diff --git a/core/src/main/res/values-v23/styles.xml b/core/src/main/res/values-v23/styles.xml index fd339a071..dde8e41ae 100644 --- a/core/src/main/res/values-v23/styles.xml +++ b/core/src/main/res/values-v23/styles.xml @@ -4,15 +4,18 @@ <item name="android:windowContentTransitions">true</item> <item name="android:statusBarColor">@color/background_light</item> <item name="android:windowLightStatusBar">true</item> + <item name="android:navigationBarColor">@color/background_light</item> </style> <style name="Theme.AntennaPod.Dark" parent="Theme.Base.AntennaPod.Dark"> <item name="android:windowContentTransitions">true</item> <item name="android:statusBarColor">@color/background_darktheme</item> <item name="android:windowLightStatusBar">false</item> + <item name="android:navigationBarColor">@color/background_darktheme</item> </style> <style name="Theme.AntennaPod.TrueBlack" parent="Theme.Base.AntennaPod.TrueBlack"> <item name="android:statusBarColor">@color/black</item> + <item name="android:navigationBarColor">@color/black</item> </style> </resources>
\ No newline at end of file diff --git a/core/src/main/res/values-v27/styles.xml b/core/src/main/res/values-v27/styles.xml new file mode 100644 index 000000000..a28090155 --- /dev/null +++ b/core/src/main/res/values-v27/styles.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + <style name="Theme.AntennaPod.Light" parent="Theme.Base.AntennaPod.Light"> + <item name="android:windowContentTransitions">true</item> + <item name="android:statusBarColor">@color/background_light</item> + <item name="android:windowLightStatusBar">true</item> + <item name="android:navigationBarColor">@color/background_light</item> + <item name="android:navigationBarDividerColor">@color/navigation_bar_divider_light</item> + <item name="android:windowLightNavigationBar">true</item> + </style> +</resources>
\ No newline at end of file diff --git a/core/src/main/res/values/colors.xml b/core/src/main/res/values/colors.xml index 760044854..859b64367 100644 --- a/core/src/main/res/values/colors.xml +++ b/core/src/main/res/values/colors.xml @@ -25,6 +25,7 @@ <color name="non_square_icon_background">#22777777</color> <color name="seek_background_light">#90000000</color> <color name="seek_background_dark">#905B5B5B</color> + <color name="navigation_bar_divider_light">#1F000000</color> <color name="accent_light">#0078C2</color> <color name="accent_dark">#3D8BFF</color> |