Fix system bars color on Android 13 and below
This commit is contained in:
10
app/src/main/res/values-night-v23/themes.xml
Normal file
10
app/src/main/res/values-night-v23/themes.xml
Normal file
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
|
||||
<style name="AppTheme" parent="AppTheme.Base.V23" />
|
||||
|
||||
<style name="AppTheme.Base.V23.Night" parent="AppTheme.Base.V23">
|
||||
<item name="android:windowLightStatusBar">false</item>
|
||||
</style>
|
||||
|
||||
</resources>
|
||||
10
app/src/main/res/values-night-v26/themes.xml
Normal file
10
app/src/main/res/values-night-v26/themes.xml
Normal file
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
|
||||
<style name="AppTheme" parent="AppTheme.Base.V26.Night" />
|
||||
|
||||
<style name="AppTheme.Base.V26.Night" parent="AppTheme.Base.V26">
|
||||
<item name="android:windowLightStatusBar">false</item>
|
||||
</style>
|
||||
|
||||
</resources>
|
||||
@@ -1,8 +0,0 @@
|
||||
<resources xmlns:tools="http://schemas.android.com/tools">
|
||||
|
||||
<style name="AppTheme" parent="AppTheme.Base">
|
||||
<item name="android:windowLightStatusBar" tools:targetApi="m">false</item>
|
||||
<item name="android:windowLightNavigationBar" tools:targetApi="m">false</item>
|
||||
</style>
|
||||
|
||||
</resources>
|
||||
11
app/src/main/res/values-v23/themes.xml
Normal file
11
app/src/main/res/values-v23/themes.xml
Normal file
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
|
||||
<style name="AppTheme" parent="AppTheme.Base.V23" />
|
||||
|
||||
<style name="AppTheme.Base.V23" parent="AppTheme.Base">
|
||||
<item name="android:windowLightStatusBar">true</item>
|
||||
<item name="android:statusBarColor">?attr/colorSurfaceContainer</item>
|
||||
</style>
|
||||
|
||||
</resources>
|
||||
10
app/src/main/res/values-v26/themes.xml
Normal file
10
app/src/main/res/values-v26/themes.xml
Normal file
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
|
||||
<style name="AppTheme" parent="AppTheme.Base.V26" />
|
||||
|
||||
<style name="AppTheme.Base.V26" parent="AppTheme.Base.V23">
|
||||
<item name="android:navigationBarColor">?attr/colorSurfaceContainer</item>
|
||||
</style>
|
||||
|
||||
</resources>
|
||||
10
app/src/main/res/values-v27/themes.xml
Normal file
10
app/src/main/res/values-v27/themes.xml
Normal file
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
|
||||
<style name="AppTheme" parent="AppTheme.Base.V27" />
|
||||
|
||||
<style name="AppTheme.Base.V27" parent="AppTheme.Base.V26">
|
||||
<item name="android:windowLightNavigationBar">true</item>
|
||||
</style>
|
||||
|
||||
</resources>
|
||||
@@ -1,9 +1,7 @@
|
||||
<resources xmlns:tools="http://schemas.android.com/tools">
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
|
||||
<style name="AppTheme" parent="AppTheme.Base">
|
||||
<item name="android:windowLightStatusBar" tools:targetApi="m">true</item>
|
||||
<item name="android:windowLightNavigationBar" tools:targetApi="m">true</item>
|
||||
</style>
|
||||
<style name="AppTheme" parent="AppTheme.Base" />
|
||||
|
||||
<style name="AppTheme.Base" parent="Theme.Material3.DayNight.NoActionBar">
|
||||
<item name="bottomSheetDialogTheme">@style/BottomSheetDialogTheme</item>
|
||||
|
||||
Reference in New Issue
Block a user