Here is my XML file to rotate an image in 360 degree movement.

To apply it to the ProgressBar and use it as the moving spinner, do it like this:

I have read some posts in forums that they had issues with the smoothness of the rotating animation. In my case, I did not see any issue with it. Perhaps old versions of the Android operating system contributed as a factor? I tested this with JellyBean and it worked out quite fine.

Related Posts Plugin for WordPress, Blogger...