0

I am not able to provide color of my choice to Thumb and progress dialog using "com.yahoo.mobile.client.android.util.rangeseekbar:rangeseekbar-library:0.1.0" library.

Below are the ways which I have tried:

  1. rangeseekBar.setDrawingCacheBackgroundColor(Color.BLACK);
  2. rangeseekBar.setColorFilter(Color.YELLOW, PorterDuff.Mode.MULTIPLY);
  3. rangeseekBar.setAccessibilityLiveRegion(Color.RED);
  4. rangeseekBar.setColorFilter(Color.RED);

But no luck. Anyone please help me on this.

1 Answers1

0

In library SeekBar color define as

public static final int DEFAULT_COLOR = Color.argb(0xFF, 0x33, 0xB5, 0xE5);

so use

  RangeSeekBar.DEFAULT_COLOR = Color.argb(0xFF, 0x33, 0xB5, 0xE5);// change your custom color value.
sasikumar
  • 12,540
  • 3
  • 28
  • 48