android / android/media-samples
Custom UI for the PIP mode screen
- 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
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