v3.2.3: various further Android-specific UI/layout improvements
This commit is contained in:
9
android/src/main/res/values-v28/style.xml
Normal file
9
android/src/main/res/values-v28/style.xml
Normal 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>
|
||||
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user