diff options
author | Maksim <MoNTE48@mail.ua> | 2020-04-15 16:27:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-15 16:27:40 +0200 |
commit | 62ae7adab2bebde04864c12543caefbffab24963 (patch) | |
tree | 1cad2b08c94c2de26a39124f3b3dd0d513cbcc99 /build/android/app/src/main/res/values | |
parent | 8ae8c1600a66c724565ce7a70e0e5f542f12e38e (diff) | |
download | minetest-62ae7adab2bebde04864c12543caefbffab24963.tar.gz minetest-62ae7adab2bebde04864c12543caefbffab24963.tar.bz2 minetest-62ae7adab2bebde04864c12543caefbffab24963.zip |
Android: add Android Studio support, completely redone java part (#9066)
Diffstat (limited to 'build/android/app/src/main/res/values')
-rw-r--r-- | build/android/app/src/main/res/values/strings.xml | 10 | ||||
-rw-r--r-- | build/android/app/src/main/res/values/styles.xml | 22 |
2 files changed, 32 insertions, 0 deletions
diff --git a/build/android/app/src/main/res/values/strings.xml b/build/android/app/src/main/res/values/strings.xml new file mode 100644 index 000000000..a6fba70d5 --- /dev/null +++ b/build/android/app/src/main/res/values/strings.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + + <string name="label">Minetest</string> + <string name="loading">Loading…</string> + <string name="not_granted">Required permission wasn\'t granted, Minetest can\'t run without it</string> + <string name="notification_title">Loading Minetest</string> + <string name="notification_description">Less than 1 minute…</string> + +</resources> diff --git a/build/android/app/src/main/res/values/styles.xml b/build/android/app/src/main/res/values/styles.xml new file mode 100644 index 000000000..618507e63 --- /dev/null +++ b/build/android/app/src/main/res/values/styles.xml @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources xmlns:tools="http://schemas.android.com/tools"> + + <style name="AppTheme" parent="Theme.AppCompat.DayNight.NoActionBar"> + <item name="windowActionBar">false</item> + <item name="android:windowFullscreen">true</item> + <item name="android:windowBackground">@drawable/bg</item> + <item name="android:windowLayoutInDisplayCutoutMode" tools:targetApi="p">shortEdges</item> + </style> + + <style name="InputTheme" parent="Theme.AppCompat.DayNight.Dialog"> + <item name="windowNoTitle">true</item> + <item name="android:windowBackground">@android:color/transparent</item> + </style> + + <style name="CustomProgressBar" parent="@style/Widget.AppCompat.ProgressBar.Horizontal"> + <item name="android:indeterminateOnly">false</item> + <item name="android:minHeight">10dip</item> + <item name="android:maxHeight">20dip</item> + </style> + +</resources> |