alirezahassan Active Member Licensed User Dec 19, 2020 #1 Hi all. I want to disable split screen in my application in one activity or my all app. What should I do?
Hi all. I want to disable split screen in my application in one activity or my all app. What should I do?
Erel B4X founder Staff member Licensed User Longtime User Dec 20, 2020 #2 Manifest code: B4X: SetApplicationAttribute(android:resizeableActivity, "false") Based on this page it works on Android 7+: https://stackoverflow.com/questions/40259027/disable-split-screen-android You can also set it in each of the activities and it will then work with Android 6 as well. Upvote 0
Manifest code: B4X: SetApplicationAttribute(android:resizeableActivity, "false") Based on this page it works on Android 7+: https://stackoverflow.com/questions/40259027/disable-split-screen-android You can also set it in each of the activities and it will then work with Android 6 as well.
alirezahassan Active Member Licensed User Dec 20, 2020 #3 Manifest code: B4X: SetApplicationAttribute(android:resizeableActivity, "false") thank you dear Erel, What about other activities? For example just disable Split screen for Main Activity and other activity can use split screen?[/QUOTE] Upvote 0
Manifest code: B4X: SetApplicationAttribute(android:resizeableActivity, "false") thank you dear Erel, What about other activities? For example just disable Split screen for Main Activity and other activity can use split screen?[/QUOTE]
Erel B4X founder Staff member Licensed User Longtime User Dec 20, 2020 #4 Use SetActivityAttribute. Upvote 0
alirezahassan Active Member Licensed User Dec 20, 2020 #5 B4X: SetActivityAttribute(Main, android:resizeableActivity, "false") my android version is 6 and with this code i can use split screen? Upvote 0
B4X: SetActivityAttribute(Main, android:resizeableActivity, "false") my android version is 6 and with this code i can use split screen?
Erel B4X founder Staff member Licensed User Longtime User Dec 21, 2020 #6 This will disable split screen. Upvote 0