Android change indeterminate progress bar(wheel) color
There are times when you want to add a progress bar(wheel type) on a white background and you notice that on some phones the progress bar has white color and is not visible…
The issue can be fixed if you apply a color to your progress bar drawable. Here is how you can do it:
/* change the progress bar drawable color to GRAY */ myProgressBar.indeterminateProgressBar.getIndeterminateDrawable().setColorFilter(Color.GRAY, android.graphics.PorterDuff.Mode.MULTIPLY);
This is a snippet so I assume that you already know how to display a progress bar on a screen.
Now the progress wheel will have a gray color.. you can change that color to what color you need.