diff options
author | MoNTE48 <MoNTE48@mail.ua> | 2019-11-07 00:39:39 +0100 |
---|---|---|
committer | Loic Blot <loic.blot@unix-experience.fr> | 2019-11-09 11:23:31 +0100 |
commit | 4c8a6423884751cc686d6aaaf415a0d7b1bc0e34 (patch) | |
tree | 24cb3472ab9283446a6bab0a0cd0bc9d14a2e1ec /build/android/src/main/res | |
parent | 6208c9d64f29215cd89d1dd875d73f6f1be6e068 (diff) | |
download | minetest-4c8a6423884751cc686d6aaaf415a0d7b1bc0e34.tar.gz minetest-4c8a6423884751cc686d6aaaf415a0d7b1bc0e34.tar.bz2 minetest-4c8a6423884751cc686d6aaaf415a0d7b1bc0e34.zip |
Android: build fixes & compat fixes
Diffstat (limited to 'build/android/src/main/res')
-rw-r--r-- | build/android/src/main/res/values-v21/styles.xml | 13 | ||||
-rw-r--r-- | build/android/src/main/res/values/styles.xml | 8 |
2 files changed, 14 insertions, 7 deletions
diff --git a/build/android/src/main/res/values-v21/styles.xml b/build/android/src/main/res/values-v21/styles.xml index 825ab1d37..8b0777467 100644 --- a/build/android/src/main/res/values-v21/styles.xml +++ b/build/android/src/main/res/values-v21/styles.xml @@ -1,12 +1,17 @@ <?xml version="1.0" encoding="utf-8"?> -<resources> +<resources xmlns:tools="http://schemas.android.com/tools"> - <style name="AppTheme" parent="@android:style/android:Theme.Material.Light.NoActionBar.Fullscreen"> + <style name="AppTheme" parent="android:Theme.Material.Light.NoActionBar.Fullscreen"> <item name="android:windowNoTitle">true</item> - <item name="android:windowAnimationStyle">@null</item> <item name="android:windowBackground">@drawable/bg</item> + <item name="android:windowLayoutInDisplayCutoutMode" tools:ignore="NewApi" tools:targetApi="o_mr1"> + shortEdges + </item> </style> - <style name="Theme.Dialog" parent="@android:style/Theme.Material.Light.Dialog.NoActionBar"/> + <style name="Theme.Dialog" parent="@android:style/Theme.Material.Light.Dialog.NoActionBar"> + <item name="android:windowNoTitle">true</item> + <item name="android:windowBackground">@android:color/transparent</item> + </style> </resources> diff --git a/build/android/src/main/res/values/styles.xml b/build/android/src/main/res/values/styles.xml index 3e66ff4ba..1bd41ae76 100644 --- a/build/android/src/main/res/values/styles.xml +++ b/build/android/src/main/res/values/styles.xml @@ -1,12 +1,14 @@ <?xml version="1.0" encoding="utf-8"?> <resources> - <style name="AppTheme" parent="@android:style/android:Theme.Holo.Light.NoActionBar.Fullscreen"> + <style name="AppTheme" parent="android:Theme.Holo.Light.NoActionBar.Fullscreen"> <item name="android:windowNoTitle">true</item> - <item name="android:windowAnimationStyle">@null</item> <item name="android:windowBackground">@drawable/bg</item> </style> - <style name="Theme.Dialog" parent="@android:style/android:Theme.Holo.Light.Dialog.NoActionBar"/> + <style name="Theme.Dialog" parent="android:Theme.Holo.Light.Dialog.NoActionBar"> + <item name="android:windowNoTitle">true</item> + <item name="android:windowBackground">@android:color/transparent</item> + </style> </resources> |