How can I put one part of my App in PiP mode while still being inside the App?
02:25 14 Jul 2022

How can I have PiP mode while I am still in the App? I am creating a video calling App, and while the call is still going on, you are able to go to a separate full screen view that currently is the same Fragment with the views being hidden/shown. When I go to separate full screen view, the cameras are no longer visible. We would like to solve that issue by putting the cameras in PiP mode. I see that the google meet app does that. But I could not find any reference to how to do this on the web.

Example of what I am trying to do: enter image description here

android android-activity android-picture-in-picture