views:

379

answers:

2

Is there a way I can remove the background bar image in the SeekBar android widget?

I just want it to show a slider with no progress bar behind it.

Remove this

Any help?

A: 

Have you tried setBackgroundDrawable(null)?

CommonsWare
I have. The background drawable is actually behind the bar itself. I need a way to delete the bar (and also change the image of the slider)
GuyNoir
+1  A: 

Well I solved my own problem.

To remove the background, you have to create a blank drawable and set it to the progressDrawable:

satBar.setProgressDrawable(invisibleBackground);

Setting it to null doesn't seem to work.

GuyNoir