From 69dcad71dea370919784c51cfe5b3d2caebfc71d Mon Sep 17 00:00:00 2001 From: olly Date: Wed, 2 Dec 2020 09:56:55 +0000 Subject: [PATCH] Update StyledPlayers control overlay scrim from 30% opacity to 60% opacity for Accessibility requirements. PiperOrigin-RevId: 345190774 --- RELEASENOTES.md | 2 ++ .../ui/src/main/res/layout/exo_styled_player_control_view.xml | 2 +- library/ui/src/main/res/values/colors.xml | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/RELEASENOTES.md b/RELEASENOTES.md index a510df9601..4802aca4f1 100644 --- a/RELEASENOTES.md +++ b/RELEASENOTES.md @@ -29,6 +29,8 @@ * UI: * Show overflow button in `StyledPlayerControlView` only when there is not enough space. + * Update StyledPlayer's control overlay scrim from 30% opacity to 60% + opacity for Accessibility requirements. * DRM: * Fix playback failure when switching from PlayReady protected content to Widevine or Clearkey protected content in a playlist. diff --git a/library/ui/src/main/res/layout/exo_styled_player_control_view.xml b/library/ui/src/main/res/layout/exo_styled_player_control_view.xml index 46696855ed..2fa287c5f1 100644 --- a/library/ui/src/main/res/layout/exo_styled_player_control_view.xml +++ b/library/ui/src/main/res/layout/exo_styled_player_control_view.xml @@ -25,7 +25,7 @@ android:layout_width="match_parent" android:layout_height="match_parent" android:layout_gravity="center" - android:background="@color/exo_black_opacity_30"/> + android:background="@color/exo_black_opacity_60"/> #ffffff #B3ffffff #B3000000 - #4D000000 + #98000000 #80808080 #b0000000