Starting in Android 8.0 (API level 26), Android allows activities to launch in picture-in-picture (PiP) mode. PiP is a special type of multi-window mode mostly used for video playback.

In this video, you will learn how to set up your Android app to switch to PiP mode with some extra user experiences bonus on top.

How to set up Android Picture-in-picture mode? (a.k.a Floating window) + Best practices

Hope you enjoy and do not forget to subscribe to the channel and hit the bell button to get notified when there is a new video.