summaryrefslogtreecommitdiff
path: root/build/android/src/main/res/values/styles.xml
diff options
context:
space:
mode:
authorMaksim <MoNTE48@mail.ua>2018-12-03 00:39:35 +0100
committerParamat <paramat@users.noreply.github.com>2018-12-02 23:39:35 +0000
commitf70f7875e2a2e49f80470832ae97e73f171d6460 (patch)
tree6620b45d2e0dd0b5e910120d6f17bcb471370c46 /build/android/src/main/res/values/styles.xml
parent1b0fd195c614ffa1b04d687e7793fb5bb266c535 (diff)
downloadminetest-f70f7875e2a2e49f80470832ae97e73f171d6460.tar.gz
minetest-f70f7875e2a2e49f80470832ae97e73f171d6460.tar.bz2
minetest-f70f7875e2a2e49f80470832ae97e73f171d6460.zip
Update Android java code (#7820)
Targets SDK 26 as required by the playstore. Fixes screen auto-rotation closing game. Hides on-screen navigation bar if present. Update gradlew. Fix display aspect on 18+/:9 displays (like a Samsung Galaxy S9). Remove small app icons, not required. Fix xml in unpacking activity. Support Android permission: On Android 6.0+ you need to manually give write permission (as required by google). Background during unpacking (just a demo for now). Material Design: no more Android 2 interface. Immersive mode (Android 4.4+ - hide NavBar for fullscreen mode).
Diffstat (limited to 'build/android/src/main/res/values/styles.xml')
-rw-r--r--build/android/src/main/res/values/styles.xml13
1 files changed, 7 insertions, 6 deletions
diff --git a/build/android/src/main/res/values/styles.xml b/build/android/src/main/res/values/styles.xml
index 25b8df5a3..8b52472a5 100644
--- a/build/android/src/main/res/values/styles.xml
+++ b/build/android/src/main/res/values/styles.xml
@@ -1,11 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
- <style name="Theme.Transparent" parent="android:Theme">
- <item name="android:windowIsTranslucent">true</item>
- <item name="android:windowBackground">@android:color/transparent</item>
- <item name="android:windowContentOverlay">@null</item>
+
+ <style name="AppTheme" parent="@android:style/android:Theme.Holo.Light.NoActionBar.Fullscreen">
<item name="android:windowNoTitle">true</item>
- <item name="android:windowIsFloating">true</item>
- <item name="android:backgroundDimEnabled">false</item>
+ <item name="android:windowAnimationStyle">@null</item>
+ <item name="android:background">@drawable/bg</item>
</style>
+
+ <style name="Theme.Dialog" parent="@android:style/android:Theme.Holo.Light.Dialog.NoActionBar"/>
+
</resources> \ No newline at end of file