Files
shattered-pixel-dungeon-web…/android/src/main/res/values-v28/style.xml
Evan Debenham 4f9bf8cc7f v3.2.3: last minute Android fixes and re-upped version code for Android:
- fixed crashes on Android 9 and 10 by swapping to 'shortEdges' cutout mode ('always' cutout display mode wasn't present in these versions)
- upped fullscreen check to Android 9+, assume navbar exists in prior versions
- fixed navbar inset always being ignored in Android 9-14
2025-09-01 00:19:01 -04:00

9 lines
445 B
XML

<?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">
shortEdges <!-- For Android 14- devices. Edge-to-edge is automatic for Android 15+ -->
</item>
</style>
</resources>