How to change the color of an indefinite ProgressB

2019-01-22 19:09发布

I have a progressbar with the following style: style="?android:attr/android:progressBarStyleSmall"

Sadly the bar is nearly white and in my case displayed on a white background. The progressbar is nearly invisible because of that.

How can I change the color of the progressbar? A darker grey would be great.

7条回答
混吃等死
2楼-- · 2019-01-22 20:07

I had a very hard time trying to change it's color. To solve it, I got android's src code and did my own ProgressBar class.

Not the best answer, but it worked for me.

查看更多
登录 后发表回答