2011-03-22 4 views

Répondre

0

Essayez ceci:

RotateAnimation anim = new RotateAnimation(0, 360,0,0); 
anim.setRepeatCount(0); 
anim.setDuration(3000); 
anim.setFillAfter(true); 
ImageView.startAnimation(anim); 
+0

Comment puis-je arrêter l'animation – khan

+0

Reportez-vous ce lien pour arrêter l'animation: http://stackoverflow.com/questions/3913750/android-how-to-stop-an-infinite -animation-appliqué-sur-une-imageview – selladurai

+0

essayez ce anim.cancel(); –

Questions connexes