How to change default color of progress bar?

后端 未结 14 1896
粉色の甜心
粉色の甜心 2020-12-02 15:53

I am using a circular ProgressBar in my Activty.My Problem is this it is not visible properly on my page because my page\'s BG color is same as ProgressBar .So

14条回答
  •  执笔经年
    2020-12-02 16:05

    Here is some explanation. For changing background of a Indeterminate ProgressBar, you need a rotating ring because it rotates. In the answer of @Chirag, he has defined a rotating ring and applied it to the background of ProgressBar. If you have a Horizontal ProgressBar then you need a rectangle.

    PS: I have not tried with other shapes.

提交回复
热议问题