diff options
author | ByteHamster <info@bytehamster.com> | 2022-08-07 11:25:51 +0200 |
---|---|---|
committer | ByteHamster <info@bytehamster.com> | 2022-09-18 19:12:41 +0200 |
commit | a524b810603a78afc6503d01e6aeb788ea14401a (patch) | |
tree | 9659721a6dbbfe853c50264668c0505891826fc1 /core/src | |
parent | e5d2d1b6ef6eec995e2ef7e714653567e349e59e (diff) | |
download | AntennaPod-a524b810603a78afc6503d01e6aeb788ea14401a.zip |
Expand app below system windows
Diffstat (limited to 'core/src')
-rw-r--r-- | core/src/main/res/values-v21/styles.xml | 20 | ||||
-rw-r--r-- | core/src/main/res/values-v23/styles.xml | 21 | ||||
-rw-r--r-- | core/src/main/res/values-v27/styles.xml | 11 | ||||
-rw-r--r-- | core/src/main/res/values/styles.xml | 15 |
4 files changed, 15 insertions, 52 deletions
diff --git a/core/src/main/res/values-v21/styles.xml b/core/src/main/res/values-v21/styles.xml deleted file mode 100644 index 349ca3213..000000000 --- a/core/src/main/res/values-v21/styles.xml +++ /dev/null @@ -1,20 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<resources> - <style name="Theme.AntennaPod.Light" parent="Theme.Base.AntennaPod.Light"> - <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 deleted file mode 100644 index 33c64ad4a..000000000 --- a/core/src/main/res/values-v23/styles.xml +++ /dev/null @@ -1,21 +0,0 @@ -<?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/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: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 deleted file mode 100644 index a28090155..000000000 --- a/core/src/main/res/values-v27/styles.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?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/styles.xml b/core/src/main/res/values/styles.xml index a1e93aad3..f8bae33f3 100644 --- a/core/src/main/res/values/styles.xml +++ b/core/src/main/res/values/styles.xml @@ -15,6 +15,7 @@ <item name="colorPrimaryContainer">@color/accent_light</item> <item name="colorOnPrimaryContainer">@color/white</item> <item name="android:windowBackground">@color/background_light</item> + <item name="colorSurface">@color/background_light</item> <item name="background_color">@color/background_light</item> <item name="actionBarStyle">@style/Widget.AntennaPod.ActionBar.Light</item> <item name="background_elevated">@color/background_elevated_light</item> @@ -36,6 +37,12 @@ <item name="icon_purple">#5F1984</item> <item name="icon_gray">#25365A</item> <item name="android:splitMotionEvents">false</item> + <item name="android:fitsSystemWindows">false</item> + <item name="android:statusBarColor" tools:targetApi="lollipop">@android:color/transparent</item> + <item name="android:navigationBarColor" tools:targetApi="lollipop">@android:color/transparent</item> + <item name="android:windowLightStatusBar" tools:targetApi="m">true</item> + <item name="android:windowLightNavigationBar" tools:targetApi="o_mr1">true</item> + <item name="android:windowContentTransitions" tools:targetApi="lollipop">true</item> </style> <style name="Theme.AntennaPod.Dark" parent="Theme.Base.AntennaPod.Dark"> @@ -51,6 +58,7 @@ <item name="colorPrimaryContainer">@color/accent_dark</item> <item name="colorOnPrimaryContainer">@color/black</item> <item name="android:windowBackground">@color/background_darktheme</item> + <item name="colorSurface">@color/background_darktheme</item> <item name="background_color">@color/background_darktheme</item> <item name="actionBarStyle">@style/Widget.AntennaPod.ActionBar.Dark</item> <item name="background_elevated">@color/background_elevated_darktheme</item> @@ -74,6 +82,12 @@ <item name="icon_purple">#AA55D8</item> <item name="icon_gray">#CDD9E4</item> <item name="android:splitMotionEvents">false</item> + <item name="android:fitsSystemWindows">false</item> + <item name="android:statusBarColor" tools:targetApi="lollipop">@android:color/transparent</item> + <item name="android:navigationBarColor" tools:targetApi="lollipop">@android:color/transparent</item> + <item name="android:windowLightStatusBar" tools:targetApi="m">false</item> + <item name="android:windowLightNavigationBar" tools:targetApi="o_mr1">false</item> + <item name="android:windowContentTransitions" tools:targetApi="lollipop">true</item> </style> <style name="Theme.AntennaPod.TrueBlack" parent="Theme.Base.AntennaPod.TrueBlack"> @@ -89,6 +103,7 @@ <item name="android:color">@color/white</item> <item name="android:colorBackground">@color/black</item> <item name="android:windowBackground">@color/black</item> + <item name="colorSurface">@color/black</item> <item name="background_color">@color/black</item> <item name="android:actionBarStyle">@color/black</item> <item name="background_elevated">@color/black</item> |