mirror of
https://github.com/androidx/media.git
synced 2025-04-30 06:46:50 +08:00
Update StyledPlayers control overlay scrim from 30% opacity to 60% opacity for Accessibility requirements.
PiperOrigin-RevId: 345190774
This commit is contained in:
parent
104ad64b76
commit
69dcad71de
@ -29,6 +29,8 @@
|
|||||||
* UI:
|
* UI:
|
||||||
* Show overflow button in `StyledPlayerControlView` only when there is not
|
* Show overflow button in `StyledPlayerControlView` only when there is not
|
||||||
enough space.
|
enough space.
|
||||||
|
* Update StyledPlayer's control overlay scrim from 30% opacity to 60%
|
||||||
|
opacity for Accessibility requirements.
|
||||||
* DRM:
|
* DRM:
|
||||||
* Fix playback failure when switching from PlayReady protected content to
|
* Fix playback failure when switching from PlayReady protected content to
|
||||||
Widevine or Clearkey protected content in a playlist.
|
Widevine or Clearkey protected content in a playlist.
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:layout_gravity="center"
|
android:layout_gravity="center"
|
||||||
android:background="@color/exo_black_opacity_30"/>
|
android:background="@color/exo_black_opacity_60"/>
|
||||||
|
|
||||||
<include android:id="@+id/exo_embedded_transport_controls"
|
<include android:id="@+id/exo_embedded_transport_controls"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
<color name="exo_white">#ffffff</color>
|
<color name="exo_white">#ffffff</color>
|
||||||
<color name="exo_white_opacity_70">#B3ffffff</color>
|
<color name="exo_white_opacity_70">#B3ffffff</color>
|
||||||
<color name="exo_black_opacity_70">#B3000000</color>
|
<color name="exo_black_opacity_70">#B3000000</color>
|
||||||
<color name="exo_black_opacity_30">#4D000000</color>
|
<color name="exo_black_opacity_60">#98000000</color>
|
||||||
<color name="exo_styled_error_message_background">#80808080</color>
|
<color name="exo_styled_error_message_background">#80808080</color>
|
||||||
<color name="exo_bottom_bar_background">#b0000000</color>
|
<color name="exo_bottom_bar_background">#b0000000</color>
|
||||||
</resources>
|
</resources>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user