Disabling Multi-window feature for Android N not working for an activity

蓝咒 提交于 2019-12-03 07:08:42

The activity that is at the root of the task controls the window size. Your choices are:

  1. Trace back to all possible task root activities in your app and ensure they all also have android:resizeableActivity="false"

  2. Force this activity into another task, via Intent flags when you start it or manifest settings

[UPDATE] set android:resizeableActivity="false" in application tag. This will work now.

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.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!