这是indexloc提供的服务,不要输入任何密码
Skip to content

Allow overriding drawables locally (only for a specific PlayerView instance) #1200

@ziem

Description

@ziem

[REQUIRED] Use case description

My app has two players: video player and podcast player. Both should look different in terms of icons, buttons' positions, and spacing. Spacing and reordering buttons is easy, but it seems that the only option to replace icons is to do it globally1, for all PlayerViews.

Proposed solution

It would be great to have attributes similar to show_timeout2 for icons/resources used in the PlayerControlView.
e.g.:

  • play_resource_id
  • pause_resource_id
  • etc.

with the fallback to exo_styled_controls_play, exo_styled_controls_pause, .. if not present.

Alternatives considered

No alternatives were considered.


Ref.:

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions