在drawable文件夹下新建一个abcd.xml,内容为:

drawable是你的原画;duration是间隔,单位:ms
//如果展示的控件是ImageView,则:
imageView.setImageResource(R.drawable.abcd);
AnimationDrawable animationDrawable= (AnimationDrawable) imageView.getDrawable();
animationDrawable.start()//开始
animationDrawable.stop()//停止