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
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
- Fix order of playback controls in RTL layout Issue: androidx/media#227 #minor-release PiperOrigin-RevId: 497159283 — committed to google/ExoPlayer by icbaker 2 years ago
- Enable RTL support in the demo app We might as well keep this enabled by default, rather than having to manually toggle it on to investigate RTL issues like Issue: androidx/media#227. PiperOrigin-Re... — committed to google/ExoPlayer by icbaker 2 years ago
- Fix order of playback controls in RTL layout Issue: androidx/media#227 #minor-release PiperOrigin-RevId: 497159283 — committed to androidx/media by icbaker 2 years ago
- Enable RTL support in the demo app We might as well keep this enabled by default, rather than having to manually toggle it on to investigate RTL issues like Issue: androidx/media#227. PiperOrigin-Re... — committed to androidx/media by icbaker 2 years ago
- Fix order of playback controls in RTL layout Issue: androidx/media#227 #minor-release PiperOrigin-RevId: 497159283 (cherry picked from commit 80603427abbd0da09f21e381cc10a5d47fb6d780) — committed to androidx/media by icbaker 2 years ago
- Enable RTL support in the demo app We might as well keep this enabled by default, rather than having to manually toggle it on to investigate RTL issues like Issue: androidx/media#227. PiperOrigin-Re... — committed to androidx/media by icbaker 2 years ago
- Fix order of playback controls in RTL layout Issue: androidx/media#227 #minor-release PiperOrigin-RevId: 497159283 (cherry picked from commit 8313af1677507fb0cc51d53e81bf930f1a954c87) — committed to google/ExoPlayer by icbaker 2 years ago
- Enable RTL support in the demo app We might as well keep this enabled by default, rather than having to manually toggle it on to investigate RTL issues like Issue: androidx/media#227. PiperOrigin-Re... — committed to google/ExoPlayer by icbaker 2 years ago
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.