How to make ProgressBar stop spinning?

android, android-progressbar

Solution

Like toadzky commented, there's no baked-in method. You might try this ProgressWheel. If nothing else, it should give you idea of how to implement it.

Problem

When I add horizontal ProgressBar it behaves as expected -- I set the progress value and it shows it. However when I add ProgressBar (circular) it spins. And that's it. In such form it is more "please wait" indicator, that any progress bar, because progress value is not shown. So my question is (assuming Progress in name means progress) -- how to stop spinning and shows progress value? For example if I set max to 100, and value to 50 I would expect to see half-circle arc. In other words how to make circular ProgressBar to behave like horizontal ProgressBar, with only exception of the shape?

Original source