Good Day,
I would like to disable split screen, and get the result what is shown in "Expected Result" screenshot. (Toast with text "App doesn't support split screen")
In the "Actual Result" screen you can see how android:resizeableActivity="false"
affect on the app, but still split-screen enabled.
How can I disable it at all ?
Actual Result:
Try to set minHeight and miWidth as in example here:
Taken from: https://developer.android.com/guide/topics/ui/multi-window.html
What I found ?
We can't set
android:resizeableActivity="false"
in the<application>
tag it is ignored. (mistake google documentation)It works when I set it to the main activity
Add android:resizeableActivity="false" in application tag at manifest.xml file.