Skip to content

Commit 7264412

Browse files
Fix navigation bar color issue when transitioning from one activity to another on Android 16+.
1 parent da458a9 commit 7264412

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<resources>
3+
<style name="AppTheme.NoActionBar">
4+
<item name="windowActionBar">false</item>
5+
<item name="windowNoTitle">true</item>
6+
<item name="android:windowIsTranslucent">true</item>
7+
</style>
8+
</resources>

app/src/main/res/values/styles.xml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,6 @@
4444
<item name="android:fontFamily">?attr/font_family</item>
4545
</style>
4646

47-
<style name="AppTheme.TranslucentStatusBar" parent="AppTheme">
48-
<item name="android:windowTranslucentStatus">true</item>
49-
</style>
50-
5147
<style name="AppTheme.AppBarOverlay" parent="ThemeOverlay.AppCompat.DayNight.ActionBar">
5248
<item name="android:fontFamily">?attr/font_family</item>
5349
</style>

0 commit comments

Comments
 (0)