I use the below mentioned code snippet to display the Picture in Picture. I use this to display my video screen. This works fine but I see a padding (Green border) around my picture in picture view. I am launching this picture in picture code from my flutter application. Appricates for any clues to solve this issue.
Code:
pipParams = PictureInPictureParams.Builder()
.build()
enterPictureInPictureMode(pipParams!!)
Problem reference screen: (Green border in the below screen)
Note: This behaviour is happening with Samsung s10 Edge device.
Kindly mention how did you use the pip feature and which video player package are you using ?