Update Styled Player settings dialogs to respect RTL.

PiperOrigin-RevId: 342672124
This commit is contained in:
olly 2020-11-16 18:52:57 +00:00 committed by kim-vde
parent cbd91999b4
commit 8381b9ff43
3 changed files with 7 additions and 0 deletions

View File

@ -39,6 +39,7 @@
* Switch `StyledPlayerControlView` button controls to borderless ripples.
* 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`

View File

@ -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">
<ImageView
@ -38,6 +39,7 @@
android:paddingEnd="4dp"
android:paddingRight="4dp"
android:gravity="center|start"
android:layoutDirection="locale"
android:orientation="vertical">
<TextView
@ -45,6 +47,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="@color/exo_white"
android:textDirection="locale"
android:textSize="@dimen/exo_settings_main_text_size"/>
<TextView
@ -52,6 +55,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="@color/exo_white_opacity_70"
android:textDirection="locale"
android:textSize="@dimen/exo_settings_sub_text_size"/>
</LinearLayout>
</LinearLayout>

View File

@ -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">
<ImageView
@ -40,5 +41,6 @@
android:layout_marginRight="4dp"
android:gravity="center|start"
android:textColor="@color/exo_white"
android:textDirection="locale"
android:textSize="@dimen/exo_settings_main_text_size"/>
</LinearLayout>