v3.2.3: various further Android-specific UI/layout improvements

This commit is contained in:
Evan Debenham
2025-08-31 15:04:55 -04:00
parent 9ccdbc5e50
commit 5cd22f6bcd
4 changed files with 38 additions and 29 deletions

View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- Newer Material translucent theme for Android 9+ that lets them go true fullscreen -->
<style name="GameTheme" parent="@android:style/Theme.Material.NoActionBar.TranslucentDecor">
<item name="android:windowLayoutInDisplayCutoutMode">
always <!-- For Android 14- devices, edge-to-edge is automatic for Android 15+ -->
</item>
</style>
</resources>

View File

@@ -1,9 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="Theme" parent="@android:style/Theme.Black.NoTitleBar">
<item name="android:windowLayoutInDisplayCutoutMode">
always <!-- For Android 14 and older devices-->
</item>
</style>
<!-- Compat with Android 8 and older, which don't have full inset handling support -->
<!-- This is the classic plain black theme that Pixel Dungeons have always used -->
<style name="GameTheme" parent="@android:style/Theme.Black.NoTitleBar"/>
</resources>