From bc1e5868d64c57f7543d8bf6119864d1a33ddca0 Mon Sep 17 00:00:00 2001 From: olly Date: Wed, 8 Dec 2021 12:40:10 +0000 Subject: [PATCH] Fix FFWD/RWND color in night mode The color set via textAppearance is overridden by any non-null textColor set directly on the style. We always want the specific properties the textAppearance specifies, so set them directly to prevent them from being overridden. #minor-release Issue: google/ExoPlayer#9765 PiperOrigin-RevId: 414967143 --- libraries/ui/src/main/res/values/styles.xml | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/libraries/ui/src/main/res/values/styles.xml b/libraries/ui/src/main/res/values/styles.xml index 84f2db543d..66efb3eee6 100644 --- a/libraries/ui/src/main/res/values/styles.xml +++ b/libraries/ui/src/main/res/values/styles.xml @@ -92,9 +92,11 @@ @drawable/exo_styled_controls_fastforward center|bottom @dimen/exo_icon_padding_bottom - @style/ExoStyledControls.ButtonText + bold + @dimen/exo_icon_text_size + @color/exo_white - @android:color/white + @color/exo_white 0dp @@ -102,16 +104,12 @@ @drawable/exo_styled_controls_rewind center|bottom @dimen/exo_icon_padding_bottom - @style/ExoStyledControls.ButtonText - - @android:color/white - 0dp - - -