I have seekbar with background colour blue andI want to change the intensity of blue colour as the seekbar progress is changed.As i m a beginner so am not able to understand,can anyone please help me with the code.
Asked
Active
Viewed 495 times
0
-
this could help you.. progressBar.getProgressDrawable().setColorFilter(Color.RED, Mode.SRC_IN); – Pragnesh Ghoda シ Aug 13 '14 at 05:19
-
I want to change the intensity of blue color(the thumb is of blue colour) as we move the thumb of the seekbar. – Pallavi Choudhary Aug 18 '14 at 05:09
-
http://stackoverflow.com/questions/9837843/change-the-color-of-a-seekbar-on-onprogresschanged – Pragnesh Ghoda シ Aug 18 '14 at 05:49
-
I have used this code previously but dont know it is not recognizing getProgressDrawable() and from where the clipdrawable id is taken – Pallavi Choudhary Aug 18 '14 at 06:09
-
it may be drawable shape defined in drawable folder.. – Pragnesh Ghoda シ Aug 18 '14 at 06:26
-
can you plz elaborate i m not able to understand – Pallavi Choudhary Aug 18 '14 at 07:52
1 Answers
0
Try below link it might be helpful to you
How can you dynamically update the color of a SeekBar? √
Change the color of a seekbar on onProgressChanged
Or you can create custom seekbar to implement the same

Community
- 1
- 1

Rohan Pawar
- 1,875
- 22
- 40