Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
SDK
/
exoplayer
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
bb8a2de3
authored
Nov 16, 2020
by
olly
Committed by
Ian Baker
Nov 23, 2020
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Update Styled Player settings dialogs to respect RTL.
PiperOrigin-RevId: 342672124
parent
1f498677
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
0 deletions
RELEASENOTES.md
library/ui/src/main/res/layout/exo_styled_settings_list_item.xml
library/ui/src/main/res/layout/exo_styled_sub_settings_list_item.xml
RELEASENOTES.md
View file @
bb8a2de3
...
@@ -18,6 +18,7 @@
...
@@ -18,6 +18,7 @@
(
[
#7882
](
https://github.com/google/ExoPlayer/issues/7882
)
).
(
[
#7882
](
https://github.com/google/ExoPlayer/issues/7882
)
).
*
Add
`bar_gravity`
attribute into
`DefaultTimeBar`
.
*
Add
`bar_gravity`
attribute into
`DefaultTimeBar`
.
*
Increase seekbar's touch target height in
`StyledPlayerControlView`
.
*
Increase seekbar's touch target height in
`StyledPlayerControlView`
.
*
Update Styled Player settings dialogs to respect RTL.
*
Audio:
*
Audio:
*
Retry playback after some types of
`AudioTrack`
error.
*
Retry playback after some types of
`AudioTrack`
error.
*
Work around
`AudioManager`
crashes when calling
`getStreamVolume`
*
Work around
`AudioManager`
crashes when calling
`getStreamVolume`
...
...
library/ui/src/main/res/layout/exo_styled_settings_list_item.xml
View file @
bb8a2de3
...
@@ -19,6 +19,7 @@
...
@@ -19,6 +19,7 @@
android:minWidth=
"@dimen/exo_setting_width"
android:minWidth=
"@dimen/exo_setting_width"
android:minHeight=
"@dimen/exo_settings_height"
android:minHeight=
"@dimen/exo_settings_height"
android:background=
"?android:attr/selectableItemBackground"
android:background=
"?android:attr/selectableItemBackground"
android:layoutDirection=
"locale"
android:orientation=
"horizontal"
>
android:orientation=
"horizontal"
>
<ImageView
<ImageView
...
@@ -38,6 +39,7 @@
...
@@ -38,6 +39,7 @@
android:paddingEnd=
"4dp"
android:paddingEnd=
"4dp"
android:paddingRight=
"4dp"
android:paddingRight=
"4dp"
android:gravity=
"center|start"
android:gravity=
"center|start"
android:layoutDirection=
"locale"
android:orientation=
"vertical"
>
android:orientation=
"vertical"
>
<TextView
<TextView
...
@@ -45,6 +47,7 @@
...
@@ -45,6 +47,7 @@
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:textColor=
"@color/exo_white"
android:textColor=
"@color/exo_white"
android:textDirection=
"locale"
android:textSize=
"@dimen/exo_settings_main_text_size"
/>
android:textSize=
"@dimen/exo_settings_main_text_size"
/>
<TextView
<TextView
...
@@ -52,6 +55,7 @@
...
@@ -52,6 +55,7 @@
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:textColor=
"@color/exo_white_opacity_70"
android:textColor=
"@color/exo_white_opacity_70"
android:textDirection=
"locale"
android:textSize=
"@dimen/exo_settings_sub_text_size"
/>
android:textSize=
"@dimen/exo_settings_sub_text_size"
/>
</LinearLayout>
</LinearLayout>
</LinearLayout>
</LinearLayout>
library/ui/src/main/res/layout/exo_styled_sub_settings_list_item.xml
View file @
bb8a2de3
...
@@ -19,6 +19,7 @@
...
@@ -19,6 +19,7 @@
android:minWidth=
"@dimen/exo_setting_width"
android:minWidth=
"@dimen/exo_setting_width"
android:minHeight=
"@dimen/exo_settings_height"
android:minHeight=
"@dimen/exo_settings_height"
android:background=
"?android:attr/selectableItemBackground"
android:background=
"?android:attr/selectableItemBackground"
android:layoutDirection=
"locale"
android:orientation=
"horizontal"
>
android:orientation=
"horizontal"
>
<ImageView
<ImageView
...
@@ -40,5 +41,6 @@
...
@@ -40,5 +41,6 @@
android:layout_marginRight=
"4dp"
android:layout_marginRight=
"4dp"
android:gravity=
"center|start"
android:gravity=
"center|start"
android:textColor=
"@color/exo_white"
android:textColor=
"@color/exo_white"
android:textDirection=
"locale"
android:textSize=
"@dimen/exo_settings_main_text_size"
/>
android:textSize=
"@dimen/exo_settings_main_text_size"
/>
</LinearLayout>
</LinearLayout>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment