android / android/media-samples

Custom UI for the PIP mode screen

Open
#74 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
Kotlin
Stars
1.4k
Forks
781
PR merge metrics
No merged PRs in 30d

Description

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?

Contributor guide

Open the contributing guide

Research direction

Start by locating the PIP-mode screen and the YouTubePlayerView implementation, then inspect how existing actions and touch handling are exposed. Determine whether removing, repositioning, and styling built-in controls, invoking close, and making the view draggable are separate supported changes; done should mean the requested behavior is clearly implemented or its limitations are documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.