Add layer of indirection for drawables
This allows easy overriding of the resources by app developers Issue: #6709 PiperOrigin-RevId: 283306121
@ -102,6 +102,9 @@
|
||||
* Make showing and hiding player controls accessible to TalkBack in
|
||||
`PlayerView`.
|
||||
* Rename `spherical_view` surface type to `spherical_gl_surface_view`.
|
||||
* Make it easier to override the shuffle, repeat, fullscreen, VR and small
|
||||
notification icon assets
|
||||
([#6709](https://github.com/google/ExoPlayer/issues/6709)).
|
||||
* Analytics:
|
||||
* Remove `AnalyticsCollector.Factory`. Instances should be created directly,
|
||||
and the `Player` should be set by calling `AnalyticsCollector.setPlayer`.
|
||||
|
Before Width: | Height: | Size: 995 B After Width: | Height: | Size: 995 B |
Before Width: | Height: | Size: 107 B After Width: | Height: | Size: 107 B |
Before Width: | Height: | Size: 105 B After Width: | Height: | Size: 105 B |
Before Width: | Height: | Size: 203 B After Width: | Height: | Size: 203 B |
Before Width: | Height: | Size: 223 B After Width: | Height: | Size: 223 B |
Before Width: | Height: | Size: 223 B After Width: | Height: | Size: 223 B |
Before Width: | Height: | Size: 265 B After Width: | Height: | Size: 265 B |
Before Width: | Height: | Size: 268 B After Width: | Height: | Size: 268 B |
Before Width: | Height: | Size: 457 B After Width: | Height: | Size: 457 B |
Before Width: | Height: | Size: 139 B After Width: | Height: | Size: 139 B |
Before Width: | Height: | Size: 146 B After Width: | Height: | Size: 146 B |
Before Width: | Height: | Size: 142 B After Width: | Height: | Size: 142 B |
Before Width: | Height: | Size: 166 B After Width: | Height: | Size: 166 B |
Before Width: | Height: | Size: 160 B After Width: | Height: | Size: 160 B |
Before Width: | Height: | Size: 182 B After Width: | Height: | Size: 182 B |
Before Width: | Height: | Size: 187 B After Width: | Height: | Size: 187 B |
Before Width: | Height: | Size: 672 B After Width: | Height: | Size: 672 B |
Before Width: | Height: | Size: 101 B After Width: | Height: | Size: 101 B |
Before Width: | Height: | Size: 101 B After Width: | Height: | Size: 101 B |
Before Width: | Height: | Size: 210 B After Width: | Height: | Size: 210 B |
Before Width: | Height: | Size: 227 B After Width: | Height: | Size: 227 B |
Before Width: | Height: | Size: 232 B After Width: | Height: | Size: 232 B |
Before Width: | Height: | Size: 228 B After Width: | Height: | Size: 228 B |
Before Width: | Height: | Size: 230 B After Width: | Height: | Size: 230 B |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 109 B After Width: | Height: | Size: 109 B |
Before Width: | Height: | Size: 106 B After Width: | Height: | Size: 106 B |
Before Width: | Height: | Size: 288 B After Width: | Height: | Size: 288 B |
Before Width: | Height: | Size: 322 B After Width: | Height: | Size: 322 B |
Before Width: | Height: | Size: 331 B After Width: | Height: | Size: 331 B |
Before Width: | Height: | Size: 342 B After Width: | Height: | Size: 342 B |
Before Width: | Height: | Size: 342 B After Width: | Height: | Size: 342 B |
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 2.0 KiB |
Before Width: | Height: | Size: 123 B After Width: | Height: | Size: 123 B |
Before Width: | Height: | Size: 123 B After Width: | Height: | Size: 123 B |
Before Width: | Height: | Size: 266 B After Width: | Height: | Size: 266 B |
Before Width: | Height: | Size: 309 B After Width: | Height: | Size: 309 B |
Before Width: | Height: | Size: 309 B After Width: | Height: | Size: 309 B |
Before Width: | Height: | Size: 438 B After Width: | Height: | Size: 438 B |
Before Width: | Height: | Size: 436 B After Width: | Height: | Size: 436 B |
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 2.6 KiB |
@ -20,6 +20,14 @@
|
||||
<drawable name="exo_controls_previous">@drawable/exo_icon_previous</drawable>
|
||||
<drawable name="exo_controls_fastforward">@drawable/exo_icon_fastforward</drawable>
|
||||
<drawable name="exo_controls_rewind">@drawable/exo_icon_rewind</drawable>
|
||||
<drawable name="exo_controls_repeat_all">@drawable/exo_icon_repeat_all</drawable>
|
||||
<drawable name="exo_controls_repeat_off">@drawable/exo_icon_repeat_off</drawable>
|
||||
<drawable name="exo_controls_repeat_one">@drawable/exo_icon_repeat_one</drawable>
|
||||
<drawable name="exo_controls_shuffle_off">@drawable/exo_icon_shuffle_off</drawable>
|
||||
<drawable name="exo_controls_shuffle_on">@drawable/exo_icon_shuffle_on</drawable>
|
||||
<drawable name="exo_controls_fullscreen_enter">@drawable/exo_icon_fullscreen_enter</drawable>
|
||||
<drawable name="exo_controls_fullscreen_exit">@drawable/exo_icon_fullscreen_exit</drawable>
|
||||
<drawable name="exo_controls_vr">@drawable/exo_icon_vr</drawable>
|
||||
<drawable name="exo_notification_play">@drawable/exo_icon_play</drawable>
|
||||
<drawable name="exo_notification_pause">@drawable/exo_icon_pause</drawable>
|
||||
<drawable name="exo_notification_next">@drawable/exo_icon_next</drawable>
|
||||
@ -27,4 +35,5 @@
|
||||
<drawable name="exo_notification_fastforward">@drawable/exo_icon_fastforward</drawable>
|
||||
<drawable name="exo_notification_rewind">@drawable/exo_icon_rewind</drawable>
|
||||
<drawable name="exo_notification_stop">@drawable/exo_icon_stop</drawable>
|
||||
<drawable name="exo_notification_small_icon">@drawable/exo_icon_circular_play</drawable>
|
||||
</resources>
|
||||
|
@ -52,7 +52,7 @@
|
||||
</style>
|
||||
|
||||
<style name="ExoMediaButton.VR">
|
||||
<item name="android:src">@drawable/exo_icon_vr</item>
|
||||
<item name="android:src">@drawable/exo_controls_vr</item>
|
||||
<item name="android:contentDescription">@string/exo_controls_vr_description</item>
|
||||
</style>
|
||||
|
||||
|