As I understand from releas note of version 2.4.0 ExoplayerSeekBar
was replaced by DefaultTimeBar
.
https://github.com/google/ExoPlayer/blob/dev-v2/RELEASENOTES.md
As I can seen, as on 19Feb2017: https://github.com/bigexxx/ExoPlayer/blob/c5db6f39a6e07b4f98364ff40476e4e213172488/library/src/main/java/com/google/android/exoplayer2/ui/PlaybackControlView.java exo_progress was SeekBar type:
(line 285):
progressBar = (SeekBar) findViewById(R.id.exo_progress);
And right now: github.com/google/ExoPlayer/blob/release-v2/library/ui/src/main/java/com/google/android/exoplayer2/ui/PlaybackControlView.java
it is:
(line: 384):timeBar = (TimeBar) findViewById(R.id.exo_progress);
DefaultTimeBar does not have method like .setThumb()
and it seems to me that thumb is created as Canvas
in drawPlayhead(Canvas canvas)
.
Question: is is possible to set own thumb icon in DefaultTimeBar
?
This option was added by ExoPlayer team after ticket was raised.
app:scrubber_drawable="@drawable/ic_scrubber"