Fix order of playback controls in RTL layout
Issue: androidx/media#227 #minor-release PiperOrigin-RevId: 497159283
This commit is contained in:
parent
283cbcb464
commit
80603427ab
@ -33,6 +33,9 @@ Release notes
|
|||||||
`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…
x
Reference in New Issue
Block a user