Search code examples
androidcustom-controlsprogress-barmedia-playerandroid-videoview

Is there a way to make a custom VideoView progress bar without building a MediaPlayer from scratch?


I am currently making an Android app and I'm going to need to make a custom video player. I just need to change its ProgressBar color. Is there a simple way to do that?

I know I could do that using Commonsguy example. But it's not so good as the native video player and I think it would be making a lot for only a change of color.

Any help appreciated!


Solution

  • I ended up building a media player from scratch based on Commonsguy example. I've tried to use Android source code for a few classes. MediaController looks exactly like what I needed to customize but it uses to many internal resources that we don't have access to.