Questions tagged [multi-window]

176 questions
128
votes
8 answers

Android Studio Multi-Windows for One Project

I'm wondering if anyone knows how to open two windows of Android Studio with both having the same project. I know you can drag tabs out, but that allows you to only edit that one file. I want two fully-featured windows with each being able to see…
ElectronicGeek
  • 3,312
  • 2
  • 23
  • 35
48
votes
3 answers

How can I disable multiwindow mode for an Activity in Android N+

In the developer preview for Android N, multi-window support is enabled by default. How can I disable it for activites? Also what will happen if a multi-window enabled app launches my disabled activity?
Patrick Jackson
  • 18,766
  • 22
  • 81
  • 141
26
votes
4 answers

Adding Samsung multi-window support to Android application

I went and tried to add Samsung's multi-window support for my app following this link. My app did appear in Samsung's multi-window applications tab, and I was able to drag and drop it into the screen, however my app did not behave as multi-window…
Rohit Malish
  • 3,209
  • 12
  • 49
  • 67
23
votes
2 answers

How to determine correct device orientation in Android N multi-window mode?

From Multi-Window documentation: Disabled features in multi-window mode Certain features are disabled or ignored when a device is in multi-window mode, because they don’t make sense for an activity which may be sharing the device screen with other…
DoDo
  • 2,248
  • 2
  • 22
  • 34
18
votes
1 answer

Task List and Back Stack with Android O Picture in Picture mode

Has anyone got any experience or advice on managing back stack and tasks in PiP mode for android O? Entering PiP mode seems to detach the activity from the current task stack. And exiting doesn't restore it. Chrome seems to handle the back stack…
16
votes
1 answer

Android Multi-Window Support : Detecting if status bar is visible?

With Android's Multi-Window support, how do I detect if the status bar is visible? For instance, when in portrait orientation, the status bar might be visible if I'm the top app, but won't be visible when I'm the bottom app. Right now, my views are…
Justin
  • 3,322
  • 2
  • 22
  • 37
15
votes
1 answer

How to enable split screen in my Android app?

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…
nishith kumar
  • 981
  • 7
  • 20
10
votes
2 answers

Activity onStop() not called when home button is pressed in Android N multi window mode

I am trying to make our video app to support Android N multiwindow mode. I have discovered that activity lifecycle becomes confused in multiwindow mode. The phenomenon is when our app layouts on the top screen with the whole screen in portrait, then…
10
votes
3 answers

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

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 app still goes in multi-window mode. Below is my manifest:
user899849
  • 311
  • 4
  • 15
9
votes
5 answers

Multiple windows in OpenGL?

Is it possible to have openGL in 2 windows? as in 2 different windows (lets say the first is 640x480 and the other is 1024x768) rendering different things (lets say one window is an editor and the other is the main/normal window display)
user34537
9
votes
2 answers

Two or more icons are displayed on taskbar for Visual Studio 2015 in multi-window mode

I have two displays and using VS 2015 in multi-window mode (i.e., separate tabs on different screens). VS 2013 always showed only one icon on taskbar which was very comfortable but VS 2015 shows one icon per separate window. This drives me nuts! I…
8
votes
1 answer

Strange lifecycle callbacks ordering when entering multi-window mode

I'm having a problem with RxJava, Retrofit and Multi-Window mode... I'm calling our own api with Retrofit inside an Activity (the actual code is a little bit more complex than this): api.getEvent(...) .subscribeOn(Schedulers.io()) …
Niccolò Passolunghi
  • 5,966
  • 2
  • 25
  • 34
7
votes
1 answer

Android onStop() not being called when starting a new activity in multi window mode

I am trying Android N multi window feature and I have found myself confused when starting a new activity. The problem is that when I start a new Activity, the onStop() callback is not being fired and when I press the back button from this new…
7
votes
2 answers

SDL 2.0 Quit Event with Multiple Windows

I'm using SDL 2.0, and decided to try out making multiple windows. Unfortunately, now I can't quit out of my program without going back to the IDE and force closing it. The event handling is as simple as possible, I am only polling for the quit…
Sethbeastalan
  • 71
  • 1
  • 3
7
votes
1 answer

Multi Window is not working

I am currently trying to implement the Multi Window Feature to my Application. I followed this guide. And here is my Problem: I added the following lines to the manifest
user1750720
  • 199
  • 1
  • 2
  • 10
1
2 3
11 12