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
2 answers
Softkeyboard overlapping by fragment after pip mode activeted first time
Maybe someone can help me with strange issue...
When I open chat screen and click on edittext I got resized screen (with android:windowSoftInputMode="adjustResize") and keyboard.
But after I go to pip mode FIRST TIME and back it looks like…

Vadim Eksler
- 865
- 9
- 24
0
votes
0 answers
How to use a single playback Activity for PiP?
While I play a content with a different url while PiP mode is on, the old content is playing.
I made all the suggested adjustments in the file AndroidManifest.xml

Halil Ozel
- 2,482
- 3
- 17
- 32
0
votes
0 answers
How to start PIP(Picture In Picture) of video playback in Flutter (with BetterPlayer) when app enters background mode
I'm looking for a way to start PIP(Picture In Picture) of video playback in Flutter when app enters background mode.
Now I'm using BetterPlayer to play the video and I can to PIP by tapping some button.
But I want to start PIP when user close my app…

hiroshi046
- 33
- 5
0
votes
1 answer
Android picture-in-picture window gets auto closed when I launch any other app
The Android picture-in-picture window is getting closed when I launch any other app. It's happening only for launching the app the first time but doesn't happen if another app is already opened. Works fine in Android 10.
AndroidManifest.xml
…

Chetan
- 226
- 3
- 12
0
votes
1 answer
How can I put one part of my App in PiP mode while still being inside the App?
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.…

Ivan Šimović
- 497
- 4
- 17
0
votes
1 answer
Hello guys,How to implement PiP (Picture-in-picture) video on React Native Home Button Pressed ? I cannot show correctly PiP Video in React Native
When I pressed android home button,play pip video via native modules and pass video url and current duration of video and Native Module accept that parameter and intent to Video Activity.Inside Video Activity OnCreate method,I try to show PiP…

Aung Thura Moe
- 23
- 1
- 6
0
votes
1 answer
Pip is closing after submitting a searchable query
I have an edge case when pip is enabled and the user wants to search something, the pip will get dismissed(when the user submit a query which has more than one item).
The search component is based on and we used SearchViewListener
to…

TestTest
- 11
- 4
0
votes
2 answers
Reopen local surfaceViewRenderer after pictureInPicture mode android
I have implemented a webRtc android application with kotlin. I have created a class LocalParticipant and inside there i have a function that starts the camera and audio streams
private var eglBaseContext: EglBase.Context =…

james04
- 1,580
- 2
- 20
- 46
0
votes
2 answers
How to override animation when entering in PIP mode in android
My PIPActivity has only one image view and I am entering in PIP mode in onCreate() i.e PIPActivity is there only to show image in PIP mode. Now when I am starting PIPActivity there is some animation that slowly transitions into PIP mode. During this…

DCoder
- 3,486
- 7
- 36
- 68
0
votes
2 answers
Is there any way to kill an activity when its in picture-in-picture mode from another activity?
I have two Activities ActivityA and ActivityB (this one has pip mode enabled)
when ActivityB is in pip mode,ActivityA comes to the foreground now I want to finish/destroy/kill ActivityB from ActivityA is there any way to do this?
if…

Sarath Siva
- 547
- 3
- 14
0
votes
1 answer
What happens if I don't use launchMode "singleTask" in android?
I am implementing picture in picture mode. Documentation says you can use android:launchMode="singleTask"
and override onNewIntent(). If I does so, it calls onConfigurationChanged() (if activity is in picture in picture mode). So, I…

Chaitanya Karmarkar
- 1,425
- 2
- 7
- 18
0
votes
1 answer
Android AR Sceneform. Moving 3D model along with Camera moving. 3D model should be align to the bottom
I'm a newbie in AR for Android, and I wanna achieve the following behavior.
I'm using Sceneform.
implementation 'com.google.ar.sceneform.ux:sceneform-ux:1.15.0'
I have a 3D model (simple cuboid).
Here is the method to create cuboid.
private…

Alexandru Iachimov
- 93
- 1
- 1
- 6
0
votes
1 answer
How to further reduce the size of the android picture-in-picture window?
I am writing a countdown timer android app. One little feature of the app is the timer is allowed to stay in picture-in-picture mode. Everything else works fine. The only problem is as what I need to display on the small window is the countdown…

Wakeman
- 103
- 7
0
votes
1 answer
On click of app icon full screen the picture in picture content
I am using jitsi-android-sdk in which when I go click home screen it takes me to the picture in picture mode and when I click on the app takes me back to the first form page. How should full screen the picture in picture mode when I click on the…

ReX
- 121
- 11
0
votes
0 answers
Applying Picture in Picture to YouTube Player View
On applying Picture in Picture mode to a YouTube Player View and while running the app, when I enter the Picture in Picture mode, the Video playing in YouTube Player pauses and the play button cant be clicked due to PiP's own layout. How can I keep…

Fizanto Fuzz
- 1
- 1