android / media-samples

Multiple samples showing the best practices in media APIs on Android (audio, video, etc.).
Apache License 2.0
1.27k stars 741 forks source link

Custom UI for the PIP mode screen #74

Open sonusourav opened 3 years ago

sonusourav commented 3 years ago

So, I can see we can add more buttons (as actions) in PIP mode but is there any way we can remove some of the already existing ones (maximize, close and settings) and have more freedom to set their position, color, etc. Also, I can't see any method to invoke the close operation. In addition, I want to add draggable property to the YouTubePlayerView using onTouchMethod() but am unable to achieve. Is there any way to achieve this?

Krutikhevin commented 3 months ago

can you share your custom UI for PIP mode.

Krutikhevin commented 3 months ago

@sonusourav