I want to disable multi-window support for activity in my application. I set resizeableActivity to false in my manifest, but when I click the last application for a long time, the application goes into multi-window mode anyway. Below is my manifest:
<activity android:name=".MainActivity" android:resizeableActivity="false" android:excludeFromRecents="true" android:icon="@drawable/ic_launcher_home" android:theme="@style/AppThemeV3.CustomToolbar"> </activity>
Per documentation :
android:resizeableActivity=["true" | "false"]
If the attribute is set to false, the action does not support multi-window mode. If this value is false and the user tries to start the operation in multi-window mode, the action goes to full screen.
I also tried setting this attribute to false at the application level in the manifest, but it still runs in multi-window mode. Any pointer to what I am doing wrong would be highly appreciated?
android android-7.0-nougat
user899849
source share