media: PlayerControlView incorrectly mirrors next/prev and ffwd/rewind icons in RTL

Media3 Version

1.0.0-beta03

Devices that reproduce the issue

Samsung S22+ Android 13

Devices that do not reproduce the issue

No response

Reproducible in the demo app?

Not tested

Reproduction steps

My App is RTL and no control playback is shown (snapshot below) when layout_height=wrap_content

<androidx.media3.ui.PlayerControlView
        android:id="@+id/playerView"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_gravity="bottom" />

if I increase the height manually it will render normally

another issue is the next back icones are reversed

Expected result

icons should be reversed and all playback controls should be shown

Actual result

as attached

Media

2 1

Bug Report

  • You will email the zip file produced by adb bugreport to dev.exoplayer@gmail.com after filing this issue.

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 15

Commits related to this issue

Most upvoted comments

Is there any issue continuing with PlayerControlView without PlayerView. It seems it works fine for now. Layout might not be optimum using a fixed hight but at least works

You’re welcome to use it like this, but by “not supported” I mean that we won’t be able to help with issues you encounter due to this choice.