Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Disable Multi-Window Support in Android

Tags:

android

I'm trying to disable multi window support using android:resizeableActivity="false" inside application tag in the manifest file. But it shows this warning - Attribute resizeableActivity is only used in API level 24 and higher (current min is 15)

Then I used "suppress with tool:TargetApi Attribute". This gave me RuntimeException: Worker exited due to exception:

What should I do now ?

like image 634
Rathi J Avatar asked Mar 09 '23 21:03

Rathi J


1 Answers

Attribute resizeableActivity is only used in API level 24 and higher (current min is 15)

You can safely ignore that warning because Multi Window Support is only available from Android 7.0(API level 24) and above. On lower versions this line android:resizeableActivity="false" will simply be ignored.

like image 62
Abhishek Jain Avatar answered Mar 20 '23 05:03

Abhishek Jain