diff --git a/RELEASENOTES.md b/RELEASENOTES.md index f33f963af0e..f748d142a85 100644 --- a/RELEASENOTES.md +++ b/RELEASENOTES.md @@ -29,6 +29,10 @@ * UI: * Show overflow button in `StyledPlayerControlView` only when there is not enough space. + * Fix incorrect color and text alignment of the `StyledPlayerControlView` + fast forward and rewind buttons, when used together with the + `com.google.android.material` library + ([#7898](https://github.com/google/ExoPlayer/issues/7898)). * Add `dispatchPrepare(Player)` to `ControlDispatcher` and implement it in `DefaultControlDispatcher`. Deprecate `PlaybackPreparer` and `setPlaybackPreparer` in `StyledPlayerView`, `StyledPlayerControlView`, diff --git a/library/ui/src/main/res/values/attrs.xml b/library/ui/src/main/res/values/attrs.xml index 00456222c48..1776030417c 100644 --- a/library/ui/src/main/res/values/attrs.xml +++ b/library/ui/src/main/res/values/attrs.xml @@ -72,6 +72,9 @@ + + + diff --git a/library/ui/src/main/res/values/styles.xml b/library/ui/src/main/res/values/styles.xml index 4e3491b97ac..060ced35776 100644 --- a/library/ui/src/main/res/values/styles.xml +++ b/library/ui/src/main/res/values/styles.xml @@ -93,12 +93,19 @@ center|bottom @dimen/exo_icon_padding_bottom @style/ExoStyledControls.ButtonText + + @android:color/white + 0dp +