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/main/res/values | |
parent | e5d2d1b6ef6eec995e2ef7e714653567e349e59e (diff) | |
download | AntennaPod-a524b810603a78afc6503d01e6aeb788ea14401a.zip |
Expand app below system windows
Diffstat (limited to 'core/src/main/res/values')
-rw-r--r-- | core/src/main/res/values/styles.xml | 15 |
1 files changed, 15 insertions, 0 deletions
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> |