Android 8.0 (API level 26) allows activities to launch in picture-in-picture (PIP) mode. PIP is a special type of multi-window mode mostly used for video playback. It lets the user watch a video in a small window pinned to a corner of the screen while navigating between apps or browsing content on the main screen.
Questions tagged [android-picture-in-picture]
84 questions
0
votes
1 answer
Android - Showing previous fragment after entering Picture-In-Picture mode
I have the following navigation structure in my app:
MainActivity -> VideoListFragment -> VideoShowingFragment
(only activity, (shows a list of Video (gets the URL of the video to
container for items via a Recycler- …

ebeninki
- 909
- 1
- 12
- 34
0
votes
1 answer
Here Map Navigation not working in Picture in Picture Mode for Android
I am trying to implement Picture in Picture mode for Here Map navigation. I am facing one problem, Map is not updating its camera in PIP mode. Voice instruction and all other instructions are working fine. When i switch to PIP mode map camera is not…

Abu Yousuf
- 5,729
- 3
- 31
- 50
0
votes
1 answer
How does 2 applications know to stop the other video playback?
Recently I recognized Android's behavior:
start video playback in one application (in my case it's Netflix Android app)
go to Youtube Android app - Netflix video preview goes into PIP mode and playback is rolling
in Youtube app start a video - then…

Marian Paździoch
- 8,813
- 10
- 58
- 103
0
votes
0 answers
How to drag down the Video Player view to Picture in Picture mode in Android?
Am using Exoplayer2 to streaming the video with hls url, Done the activity to enter in Picture-in-Picture mode while click back or click home button. I want to drag down the exoplayer view to enter in Picture-in-Picture mode or drag down the…

Yugesh
- 4,030
- 9
- 57
- 97
0
votes
0 answers
Why does picture-in-picture show invisible content?
I have something very strange:

Hong
- 17,643
- 21
- 81
- 142
0
votes
1 answer
onUserLeaveHint() is [sometimes] called with startActivityForResult()
I'm implementing PiP in our Android app. It's a navigation app that it's main activity is a full screen map. When minimized (with home button for example) it's going correctly to PiP mode through onUserLeaveHint().
The problem is that the main…

pauminku
- 3,526
- 3
- 22
- 24
0
votes
1 answer
How to Add Picture-In-Picture mode onTouch Drag Down
I am using this Github project for my app to play you tube videos using Youtube API.. I have the following code in my onInitializationSuccess method..
@Override
public void onInitializationSuccess(Provider provider, YouTubePlayer player, boolean…

amit jain
- 55
- 1
- 12
0
votes
1 answer
I need to display full screen video using ExoPlayer in PIP mode on Android
I have just implemented PIP (Picture in picture) mode in Android for my project. It works fine except that in pip mode, video shows a white stripe at the bottom. I have hidden all other UI elements but it still shows.
I was wondering if other people…

Dilip Agheda
- 2,447
- 1
- 11
- 15
-5
votes
2 answers
What is the difference between picture-in-picture and multi-window mode in Android?
In Google I/O 2017, Picture-in-picture mode was introduced.How is it different from multi-window mode?

Shinoo Goyal
- 601
- 8
- 10