mirror of
https://github.com/samsonjs/media.git
synced 2026-04-26 14:57:47 +00:00
Fix order of playback controls in RTL layout
Issue: androidx/media#227
#minor-release
PiperOrigin-RevId: 497159283
(cherry picked from commit 80603427ab)
This commit is contained in:
parent
0f8b861923
commit
a94aa8dbd9
2 changed files with 5 additions and 1 deletions
|
|
@ -30,6 +30,9 @@
|
||||||
`PlayerView.setControllerVisibilityListener(PlayerControlView.VisibilityListener)`
|
`PlayerView.setControllerVisibilityListener(PlayerControlView.VisibilityListener)`
|
||||||
to ensure visibility changes are passed to the registered listener
|
to ensure visibility changes are passed to the registered listener
|
||||||
([#229](https://github.com/androidx/media/issues/229)).
|
([#229](https://github.com/androidx/media/issues/229)).
|
||||||
|
* Fix the ordering of the center player controls in `PlayerView` when
|
||||||
|
using a right-to-left (RTL) layout
|
||||||
|
([#227](https://github.com/androidx/media/issues/227)).
|
||||||
* Session:
|
* Session:
|
||||||
* Add abstract `SimpleBasePlayer` to help implement the `Player` interface
|
* Add abstract `SimpleBasePlayer` to help implement the `Player` interface
|
||||||
for custom players.
|
for custom players.
|
||||||
|
|
|
||||||
|
|
@ -131,7 +131,8 @@
|
||||||
android:background="@android:color/transparent"
|
android:background="@android:color/transparent"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:padding="@dimen/exo_styled_controls_padding"
|
android:padding="@dimen/exo_styled_controls_padding"
|
||||||
android:clipToPadding="false">
|
android:clipToPadding="false"
|
||||||
|
android:layoutDirection="ltr">
|
||||||
|
|
||||||
<ImageButton android:id="@id/exo_prev"
|
<ImageButton android:id="@id/exo_prev"
|
||||||
style="@style/ExoStyledControls.Button.Center.Previous"/>
|
style="@style/ExoStyledControls.Button.Center.Previous"/>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue