- 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
9 lines
445 B
XML
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> |