diff --git a/RELEASENOTES.md b/RELEASENOTES.md index 476b6b0e26..1d610dd855 100644 --- a/RELEASENOTES.md +++ b/RELEASENOTES.md @@ -18,6 +18,7 @@ ([#7882](https://github.com/google/ExoPlayer/issues/7882)). * Add `bar_gravity` attribute into `DefaultTimeBar`. * Increase seekbar's touch target height in `StyledPlayerControlView`. + * Update Styled Player settings dialogs to respect RTL. * Audio: * Retry playback after some types of `AudioTrack` error. * Work around `AudioManager` crashes when calling `getStreamVolume` diff --git a/library/ui/src/main/res/layout/exo_styled_settings_list_item.xml b/library/ui/src/main/res/layout/exo_styled_settings_list_item.xml index b7dc40120a..9fe6651b37 100644 --- a/library/ui/src/main/res/layout/exo_styled_settings_list_item.xml +++ b/library/ui/src/main/res/layout/exo_styled_settings_list_item.xml @@ -19,6 +19,7 @@ android:minWidth="@dimen/exo_setting_width" android:minHeight="@dimen/exo_settings_height" android:background="?android:attr/selectableItemBackground" + android:layoutDirection="locale" android:orientation="horizontal"> diff --git a/library/ui/src/main/res/layout/exo_styled_sub_settings_list_item.xml b/library/ui/src/main/res/layout/exo_styled_sub_settings_list_item.xml index 9d184f3bbe..7f2a42b506 100644 --- a/library/ui/src/main/res/layout/exo_styled_sub_settings_list_item.xml +++ b/library/ui/src/main/res/layout/exo_styled_sub_settings_list_item.xml @@ -19,6 +19,7 @@ android:minWidth="@dimen/exo_setting_width" android:minHeight="@dimen/exo_settings_height" android:background="?android:attr/selectableItemBackground" + android:layoutDirection="locale" android:orientation="horizontal">