我想旋转一个固定点360度的图像。我见过几个例子已经如:使用RotateAnimation在Android中围绕固定点旋转ImageView
RotateAnimation anim = new RotateAnimation(0, 360,150,150);
anim.setInterpolator(new LinearInterpolator());
anim.setRepeatCount(Animation.INFINITE);
anim.setDuration(2000);
[imageview].startAnimation(anim);
这确实旋转图像,但它的弧形/圆形轨道上这样做。 IE浏览器。图像以圆周运动方式移动/旋转,但不会保持固定在起始位置。
我基本上想要的是模仿WindMill武器的旋转。
有什么想法?
我需要旋转手柄上下像我拖动手柄向上和向下 – 2017-02-15 05:12:59
akhir kehna kya chahte ho? – 2017-02-27 11:53:47