我想旋转 imageView 的图像,我已经使用矩阵缩放了图像,但旋转有问题,我正在使用代码...
int previousDegrees = 0;
int degrees = 90;
RotateAnimation animation = new RotateAnimation(previousDegrees,degrees,160,160);
ImageView imageView = (ImageView)findViewById(R.id.imageView);
animation.setDuration(1000);//Set the duration of the animation to 1 sec.
imageView.startAnimation(animation);
它旋转图像一秒钟并退回到原始位置..有什么方法可以让图像在点击时连续旋转..就像在(0,90.180.270,360)度上......请帮助!