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:
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
<activity
android:name=".activities.SplashScreenActivity"
android:label="@string/app_name"
android:theme="@style/splashScreenTheme"
android:resizeableActivity="false">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>