在我的android应用程序中,我需要像3d一样从左到右旋转一个imageview,我从左到右顺时针旋转,但我从左到右没有一个合适的解决方案,任何人都可以帮助我,我正在给予我的旋转代码正在工作,但它像顺时针一样旋转,与2d相同。
RotateAnimation r;
r = new RotateAnimation(ROTATE_FROM, ROTATE_TO, Animation.RELATIVE_TO_SELF, 0.5f, Animation.RELATIVE_TO_SELF, 0.5f);
r.setDuration((long) 4*1500);
r.setRepeatCount(0);
favicon.startAnimation(r);