-
Notifications
You must be signed in to change notification settings - Fork 6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support setting thumb Drawable in DefaultTimeBar #3337
Comments
We should be able to add a way set the scrubber/thumb drawable soon. As an alternative, you could try making a wrapper around the platform Do you also need a way to override the seek bar track drawable, or is it just the thumb you need to customize? Thanks. |
Hi Andrew, Thank you for respond and suggestion.
Best regards, |
Hey guys, is there any ETA when customization of the thumb Drawable will be added? I might need that one too. Btw I agree that changing seek bar drawable is not needed. Thanks! |
It will be pushed next time we update the development branch, which is likely to be within the next week or so. |
Issue: #3337 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=173411321
This has been pushed to |
As I understand from releas note of version 2.4.0 Exoplayer
SeekBar
was replaced byDefaultTimeBar
. https://github.com/google/ExoPlayer/blob/dev-v2/RELEASENOTES.mdAs 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
wasSeekBar
type:(line 285):
progressBar = (SeekBar) findViewById(R.id.exo_progress);
And right now: https://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 asCanvas
in private methoddrawPlayhead(Canvas canvas)
.Question: is is possible to set own thumb icon in
DefaultTimeBar
?The text was updated successfully, but these errors were encountered: