fix: the navigation bar stays dark when the launcher is not fullscreen

From Android 14 the Material theme leaves the navigation bar
transparent, so with launcher fullscreen off a white system bar showed
under the dark launcher. AppTheme now sets the navigation bar to black,
matching the status bar.
This commit is contained in:
Kirk committed 2026-11-02 04:51:54 +08:00
1 parent 8cb5c2168e
commit fdea9f0435
2 files changed
+26

No files matched your search

+1
View File
@@ -2,6 +2,7 @@
<resources>
<style name="AppTheme" parent="@android:style/Theme.Material.NoActionBar">
<item name="android:colorBackground">#FF101418</item>
<item name="android:navigationBarColor">@android:color/black</item>
</style>
<style name="SessionTheme" parent="@android:style/Theme.Material.NoActionBar.Fullscreen">
<item name="android:windowBackground">@android:color/black</item>