I would like to rotate the image 360 degrees continuously around a fixed point. I have already seen several examples, for example:
RotateAnimation anim = new RotateAnimation(0, 360,150,150); anim.setInterpolator(new LinearInterpolator()); anim.setRepeatCount(Animation.INFINITE); anim.setDuration(2000); [imageview].startAnimation(anim);
This rotates the image, but it is done in an arc / circular path. I.e. the image moves / rotates in a circular motion, but does not remain motionless at its original location.
What I basically want is to imitate the rotation of WindMill's arms.
Any thoughts?
source share