Bläddra i källkod

Prevent android to split-screen

Add android:resizeableActivity='false' to the manifest.
Xavier Sellier 7 år sedan
förälder
incheckning
7535698c8a
1 ändrade filer med 3 tillägg och 2 borttagningar
  1. 3 2
      platform/android/AndroidManifest.xml.template

+ 3 - 2
platform/android/AndroidManifest.xml.template

@@ -16,8 +16,9 @@
                   android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
                   android:launchMode="singleTask"
                   android:screenOrientation="landscape"
-                  android:configChanges="orientation|keyboardHidden|screenSize|smallestScreenSize">
-                                                                                                  
+                  android:configChanges="orientation|keyboardHidden|screenSize|smallestScreenSize"
+                  android:resizeableActivity="false">
+
             <intent-filter>
                 <action android:name="android.intent.action.MAIN" />
                 <category android:name="android.intent.category.LAUNCHER" />