split-screen

How to enable split screen in my Android app?

谁说我不能喝 提交于 2020-02-21 09:53:22
问题 I want to enable Split Screen for my android app. If I try to drag my app to make it occupy the top half of my android device it gives the message "App doesn't support split screen". However, for other apps such as Facebook and WhatsApp, I am able to use split screen. I am using LGE Nexus 5X with Android 7 (nougat) which supports split screen. 回答1: Add this to your application or activity tag in AndroidManifest.xml : android:resizeableActivity=true Adding it to application will make all

How to enable split screen in my Android app?

眉间皱痕 提交于 2020-02-21 09:52:36
问题 I want to enable Split Screen for my android app. If I try to drag my app to make it occupy the top half of my android device it gives the message "App doesn't support split screen". However, for other apps such as Facebook and WhatsApp, I am able to use split screen. I am using LGE Nexus 5X with Android 7 (nougat) which supports split screen. 回答1: Add this to your application or activity tag in AndroidManifest.xml : android:resizeableActivity=true Adding it to application will make all

iOS split screen width after keyboard displays

喜夏-厌秋 提交于 2019-12-24 03:25:55
问题 I've just begun investigating support for split-screen multitasking in my Cordova app. So far the app displays and resizes fine on iPads in the simulator, but when I click on an edit field and the software keyboard is displayed, the value for 100% width starts returning the whole screen, not the window it's been given. Initial display -- so far, so good... Nope. The app is now displaying outside its window. Page HTML: <html> ... <body> <div class="page"> ... </div> </body> </html> CSS: .page

Support split screen in Android N+ only on tablets

时间秒杀一切 提交于 2019-12-21 16:17:43
问题 Is there a way to configure multi-window support for an activity only on screens large enough, e.g. tablet? https://developer.android.com/preview/features/multi-window.html#configuring doesn't mention that. Setting android:minimalHeight and android:minimalWidth seems to not help, because If the user moves the divider in split-screen mode to make an activity smaller than the specified minimum, the system crops the activity to the size the user requests. Use case: for certain activities, it

How to get all visible running applications package names?

霸气de小男生 提交于 2019-12-11 06:43:31
问题 I have a custom launcher which is always visible and it starts 3 different apps. Starting from Android N on each app icon click (on the custom launcher) I must check whether any of the 3 applications is currently running. If no app is running, the clicked icon should start the app normally. If any of them is currently running multi window mode must be turned on and show both of them. If 2 of them are running, the inactive one (which is in "onPause" state) should be replaced with the third.

Support split screen in Android N+ only on tablets

て烟熏妆下的殇ゞ 提交于 2019-12-04 07:00:51
Is there a way to configure multi-window support for an activity only on screens large enough, e.g. tablet? https://developer.android.com/preview/features/multi-window.html#configuring doesn't mention that. Setting android:minimalHeight and android:minimalWidth seems to not help, because If the user moves the divider in split-screen mode to make an activity smaller than the specified minimum, the system crops the activity to the size the user requests. Use case: for certain activities, it might not make sense to be run in very small (split) screen sizes. In those situations, the activity

Disable split screen android

安稳与你 提交于 2019-11-30 06:58:57
Good Day, I would like to disable split screen, and get the result what is shown in "Expected Result" screenshot. (Toast with text "App doesn't support split screen") In the "Actual Result" screen you can see how android:resizeableActivity="false" affect on the app, but still split-screen enabled. How can I disable it at all ? Actual Result: Expected Result: What I found ? We can't set android:resizeableActivity="false" in the <application> tag it is ignored. (mistake google documentation) It works when I set it to the main activity <activity android:name=".activities.SplashScreenActivity"

Disable split screen android

不羁岁月 提交于 2019-11-29 07:23:02
问题 Good Day, I would like to disable split screen, and get the result what is shown in "Expected Result" screenshot. (Toast with text "App doesn't support split screen") In the "Actual Result" screen you can see how android:resizeableActivity="false" affect on the app, but still split-screen enabled. How can I disable it at all ? Actual Result: Expected Result: 回答1: What I found ? We can't set android:resizeableActivity="false" in the <application> tag it is ignored. (mistake google