my statusbar fix

This commit is contained in:
Bnyro 2022-05-20 17:03:02 +02:00
parent 947fd2b710
commit 01927f0fcb
3 changed files with 19 additions and 3 deletions

View File

@ -1,6 +1,12 @@
<resources xmlns:tools="http://schemas.android.com/tools">
<style name="Theme.MY" parent="Theme.Material3.Dark.NoActionBar"></style>
<style name="Theme.MY" parent="Theme.Material3.Dark.NoActionBar">
<item name="android:statusBarColor" tools:targetApi="m">@android:color/transparent</item>
<item name="android:windowLightStatusBar" tools:targetApi="m">false</item>
<item name="android:navigationBarColor">@android:color/transparent</item>
</style>
<style name="Theme.Red" parent="Theme.Material3.Dark.NoActionBar">

View File

@ -1,7 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="Theme.MY" parent="Theme.Material3.Light.NoActionBar"></style>
<style name="Theme.MY" parent="Theme.Material3.Light.NoActionBar">
<item name="android:statusBarColor">@android:color/transparent</item>
<item name="android:windowLightStatusBar">true</item>
<item name="android:navigationBarColor">@android:color/transparent</item>
</style>
<style name="Theme.Red" parent="Theme.Material3.Light.NoActionBar">

View File

@ -1,6 +1,10 @@
<resources xmlns:tools="http://schemas.android.com/tools">
<style name="Theme.MY" parent="Theme.Material3.Light.NoActionBar"></style>
<style name="Theme.MY" parent="Theme.Material3.Light.NoActionBar">
<item name="android:navigationBarColor">@android:color/transparent</item>
</style>
<style name="Theme.Red" parent="Theme.Material3.Light.NoActionBar">