2011-03-21 161 views

回答

4

对于漩涡,您将不得不创建自己的动画,但对于旋转,只需对ImageView设置动画。

RotateAnimation animation = new RotateAnimation(0f, 360f); 
anim.setRepeatCount(Animation.INFINITE); 
anim.setDuration(1000); 

ImageView imageView= (ImageView) findViewById(R.id.splash_screen); 
imageView.startAnimation(animation); 

还有的AnimationRotateAnimation其他方法,您可以使用自定义动画。