Animation rotateAnimation = null ; int isAnimationState = -1; int time1,time2 = 0; private int...= new RotateAnimation((time1),0,Animation.ABSOLUTE,9,Animation.ABSOLUTE,10); rotateAnimation.setDuration...= new RotateAnimation(animAngle,0,Animation.ABSOLUTE,9,Animation.ABSOLUTE,10); rotateAnimation.setDuration...(0); isAnimationState = 3; break; } rotateAnimation.setFillAfter(...true); findViewById(R.id.album_hand).startAnimation(rotateAnimation); }