android - Exoplayer custom overlays -
i using exoplayer player app. i've seen offer bunch of ready-to-use player controls customizable, in interest.
however app has bunch of other custom controls (i.e. scoreboard) update myself. if use exoplayers customization:
<com.google.android.exoplayer2.ui.simpleexoplayerview android:id="@+id/player" android:layout_width="match_parent" android:layout_height="match_parent"/> android:layout_height="match_parent" app:controller_layout_id="@layout/custom_controls"/>
and put scoreboard in layout, cannot ahold of these controls programmatically update them (or @ least haven't seen getplaybackcontrols
or getcontroller
methods).
i take advantage of builtin timer, play/pause controls, timebar, etc.
Comments
Post a Comment