1
아이콘이 있으며 항상 회전하고 싶습니다. 지금까지는 그렇게 좋았지 만 프레임을 12fps로 제한하여 예상되는 효과를 낼 수있었습니다. 어떻게해야합니까?Android : 애니메이션 회전 fps
ImageView loadingCircle= (ImageView) getActivity().findViewById(R.id.loading_circle_image);
RotateAnimation rotateAnimation = new RotateAnimation(0.0f, 1.0f * 360.0f,Animation.RELATIVE_TO_SELF, 0.5f, Animation.RELATIVE_TO_SELF, 0.5f);
rotateAnimation.setDuration(1000);
rotateAnimation.setInterpolator(new LinearInterpolator());
rotateAnimation.setRepeatCount(Animation.INFINITE);
rotateAnimation.setRepeatMode(Animation.INFINITE);
loadingCircle.startAnimation(rotateAnimation);
그럴 수 없습니다. 죄송합니다. – pskink
애니메이션이 약간 빠르면 재생 시간을 늘리십시오. fps로 재생할 수 없습니다. –