Is there any way to show two emulator for Sub Display(Presentation Class)?

1.1k views Asked by At

I am working with Presentation Class to show different screen to the customers, but interact together.

But I have no idea how to test this out because my devices and emulators only show one screen.

Is there any way to accomplish this?

1

There are 1 answers

4
CommonsWare On BEST ANSWER

For hardware, you may be able to connect an external display. For example, many modern Samsung devices support USB-C to HDMI adapters.

For the emulator and hardware that does not support external displays, you can simulate an external display. In Developer Options, scroll down to "Simulate secondary displays", and from there choose a resolution for the secondary display. This will appear as a floating layer over the main device UI, and it will work with Presentation.