I want to disable multi-window support for an activity in my app.
I have set resizeableActivity
to false in my Manifest but when I long press recent app icon, the a
The activity that is at the root of the task controls the window size. Your choices are:
Trace back to all possible task root activities in your app and ensure they all also have android:resizeableActivity="false"
Force this activity into another task, via Intent
flags when you start it or manifest settings
I have meet this problem before, and I try many time find that your must add android:launchMode="singleTask" && android:resizeableActivity="false" at the same time.
[UPDATE] set android:resizeableActivity="false" in application tag. This will work now.