Skip to content

Commit 966b517

Browse files
Merge pull request androidx#914 from cemrich:366-forward-time-wrong
PiperOrigin-RevId: 592871532
2 parents 7d11ee7 + 5be190c commit 966b517

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

RELEASENOTES.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,9 @@
116116
* Fix issue where forward and rewind buttons are not visible when used
117117
with Material Design in a BottomSheetDialogFragment
118118
([#511](https://github.com/androidx/media/issues/511)).
119+
* Fix issue where the numbers in the fast forward button of the
120+
`PlayerControlView` were misaligned
121+
([#547](https://github.com/androidx/media/issues/547)).
119122
* Downloads:
120123
* OkHttp Extension:
121124
* Cronet Extension:

libraries/ui/src/main/res/values/styles.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@
5050
<style name="ExoStyledControls.Button.Center.FfwdWithAmount">
5151
<item name="android:foreground">@drawable/exo_styled_controls_fastforward</item>
5252
<item name="android:gravity">center|bottom</item>
53+
<item name="android:paddingRight">0dp</item>
54+
<item name="android:paddingLeft">0dp</item>
5355
<item name="android:paddingBottom">@dimen/exo_icon_padding_bottom</item>
5456
<item name="android:textStyle">bold</item>
5557
<item name="android:textSize">@dimen/exo_icon_text_size</item>
@@ -62,6 +64,8 @@
6264
<style name="ExoStyledControls.Button.Center.RewWithAmount">
6365
<item name="android:foreground">@drawable/exo_styled_controls_rewind</item>
6466
<item name="android:gravity">center|bottom</item>
67+
<item name="android:paddingRight">0dp</item>
68+
<item name="android:paddingLeft">0dp</item>
6569
<item name="android:paddingBottom">@dimen/exo_icon_padding_bottom</item>
6670
<item name="android:textStyle">bold</item>
6771
<item name="android:textSize">@dimen/exo_icon_text_size</item>

0 commit comments

Comments
 (0)