https://kotlinlang.org logo
Title
u

user

06/21/2022, 1:11 PM
How to display a certain view from layout in Picture in Picture mod in android? I am trying to implement pip mode in android. There is a LiveStreamActivity which contains these elements: Header layout, VideoStream layout and custom popup that I show programatically. Their contexts are the same: LiveStreamActivity. When I enter pip mode LiveStreamActivity's root layout shrinks and fits in small pip screen. But I only want to show VideoStream layout. I tried setSourceRectHint to achieve this but it does not work. Summary : How to show desired view (or views) in pip mode?...