I am trying to rotate this image by using a thread. what should I do?
public class Start extends Activity {
View base;
Bitmap
I know it's probably late but here's how I do a rotate animation on java code:
RotateAnimation rotate = new RotateAnimation(
0, 360,
Animation.RELATIVE_TO_SELF, 0.5f,
Animation.RELATIVE_TO_SELF, 0.5f
);
rotate.setDuration(900);
rotate.setRepeatCount(Animation.INFINITE);
itemImage.startAnimation(rotate);