2
嗨,我很好奇,如果有人知道一种方式来启动屏幕spin/swirl
第一次运行应用程序。我想要旋转/旋转的图像是一个PNG。Android启动画面旋转或旋转
嗨,我很好奇,如果有人知道一种方式来启动屏幕spin/swirl
第一次运行应用程序。我想要旋转/旋转的图像是一个PNG。Android启动画面旋转或旋转
对于漩涡,您将不得不创建自己的动画,但对于旋转,只需对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);
还有的Animation和RotateAnimation其他方法,您可以使用自定义动画。