I am rotating image with this code

RotateAnimation  ranim = new RotateAnimation(0f, 360f,
Animation.RELATIVE_TO_SELF, 0.5f, Animation.RELATIVE_TO_SELF, 0.5f); //,
200, 200); // canvas.getWidth() / 2, canvas.getHeight() / 2);
           stopImage=(ImageView) findViewById(R.id.stopimage);
           ranim.setDuration(2000);
        ranim.setInterpolator(new LinearInterpolator());
           ranim.setRepeatCount(Animation.INFINITE);
           ranim.setRepeatMode(Animation.RESTART);
       stopImage.startAnimation(ranim);


But rotation does not seem to be smooth,,how to make smooth rotation


Can anybody help please

It is urgent

Thanks
Kavitha

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to