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
8381b9ff
authored
Nov 16, 2020
by
olly
Committed by
kim-vde
Nov 17, 2020
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Update Styled Player settings dialogs to respect RTL.
PiperOrigin-RevId: 342672124
parent
cbd91999
Hide 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 @
8381b9ff
...
...
@@ -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`
...
...
library/ui/src/main/res/layout/exo_styled_settings_list_item.xml
View file @
8381b9ff
...
...
@@ -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>
library/ui/src/main/res/layout/exo_styled_sub_settings_list_item.xml
View file @
8381b9ff
...
...
@@ -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>
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