Rotating image. Animation list or animated rotate? (Android)
Rotate drawable suggested by Praveen won’t give you control of frame count. Let’s assume you want to implement a custom loader which consists from 8 sections: Using animation-list approach, you need to create 8 frames rotated by 45*frameNumber degrees manually. Alternatively, you can use 1st frame and set rotation animation to it: File res/anim/progress_anim.xml: <?xml … Read more