mIvPoint.setBackgroundResource(R.drawable.point_anim); rocketAnimation = (AnimationDrawable) mIvPoint.getBackground(); mIvPoint.post(new Runnable(){ public void run(){ rocketAnimation.start(); } });
原文:http://blog.csdn.net/zhpforever/article/details/39367603