aboutsummaryrefslogtreecommitdiff
path: root/build/android/src/main/AndroidManifest.xml
diff options
context:
space:
mode:
Diffstat (limited to 'build/android/src/main/AndroidManifest.xml')
-rw-r--r--build/android/src/main/AndroidManifest.xml67
1 files changed, 46 insertions, 21 deletions
diff --git a/build/android/src/main/AndroidManifest.xml b/build/android/src/main/AndroidManifest.xml
index df218fb33..7f61cda38 100644
--- a/build/android/src/main/AndroidManifest.xml
+++ b/build/android/src/main/AndroidManifest.xml
@@ -1,34 +1,59 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
- package="net.minetest.minetest"
- android:installLocation="auto">
- <uses-feature android:glEsVersion="0x00010000" android:required="true"/>
+ package="net.minetest.minetest"
+ android:installLocation="auto">
+
+ <uses-feature
+ android:glEsVersion="0x00010000"
+ android:required="true" />
+
<uses-permission android:name="android.permission.INTERNET" />
- <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
- <application android:icon="@drawable/irr_icon"
+
+ <application
+ android:allowBackup="true"
+ android:icon="@mipmap/ic_launcher"
+ android:label="${project}"
+ android:resizeableActivity="false">
+
+ <meta-data
+ android:name="android.max_aspect"
+ android:value="2.1" />
+
+ <activity
+ android:name=".MainActivity"
+ android:configChanges="orientation|keyboardHidden|navigation|screenSize"
android:label="${project}"
- android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
- android:allowBackup="true">
- <activity android:name=".MtNativeActivity"
- android:label="${project}"
- android:launchMode="singleTask"
- android:configChanges="orientation|keyboard|keyboardHidden|navigation"
- android:screenOrientation="sensorLandscape"
- android:clearTaskOnLaunch="true">
+ android:launchMode="singleTask"
+ android:screenOrientation="sensorLandscape"
+ android:theme="@style/AppTheme">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
- <meta-data android:name="android.app.lib_name" android:value="minetest" />
</activity>
- <activity android:name=".MinetestTextEntry"
- android:theme="@style/Theme.Transparent"
- android:excludeFromRecents="true">
- </activity>
- <activity android:name=".MinetestAssetCopy"
- android:theme="@style/Theme.Transparent"
- android:excludeFromRecents="true">
+ <activity
+ android:name=".MtNativeActivity"
+ android:configChanges="orientation|keyboard|keyboardHidden|navigation|screenSize|smallestScreenSize"
+ android:hardwareAccelerated="true"
+ android:launchMode="singleTask"
+ android:screenOrientation="sensorLandscape"
+ android:theme="@style/AppTheme">
+ <intent-filter>
+ <action android:name="android.intent.action.MAIN" />
+ </intent-filter>
+ <meta-data
+ android:name="android.app.lib_name"
+ android:value="minetest" />
</activity>
+ <activity
+ android:name=".MinetestTextEntry"
+ android:configChanges="keyboardHidden|orientation|screenSize"
+ android:theme="@style/Theme.Dialog"
+ android:windowSoftInputMode="stateAlwaysHidden"/>
+ <activity
+ android:name=".MinetestAssetCopy"
+ android:screenOrientation="sensorLandscape"
+ android:theme="@style/AppTheme"/>
</application>
</manifest>