2

I used android:resizeableActivity="false" in mainfest inside application tag inorder to disable the split mode for my application ,

but when i open my application the below dialog is shown at the bottom of my application enter image description here

on clicking "Full screen display" i get a dialog like below

enter image description here

the dialog says if i enable the full screen then my app will function abnormally, is there any alternative to disable split screen option.

Amrutha Saj
  • 1,408
  • 16
  • 35

2 Answers2

1

To enable full-screen support add to the AndroidManifest.xml under the element

<meta-data android:name="android.max_aspect" android:value="2.1" />

by this, the "Full screen display" will not be shown.

Amrutha Saj
  • 1,408
  • 16
  • 35
0

in your mainfest you need

android:resizeableActivity="false"

for a Separate activity

<activity android:name=".Activity"
android:label="@string/app_name"
android:resizeableActivity="false" />

for entire APP

<application 
    android:resizeableActivity="false">
    . . .
</application>
Ramkumar.M
  • 681
  • 6
  • 21