AnimationDrawable
iv = (ImageView) findViewById(R.id.iv);
// 给 图片 设置了 背景
iv.setBackgroundResource(R.drawable.logo);
// 获得设置的 背景
rocketAnimation = (AnimationDrawable) iv.getBackground();
rocketAnimation.start();
<?xml version="1.0" encoding="utf-8"?>
<animation-list xmlns:android="http://schemas.android.com/apk/res/android"
android:oneshot="false">
<item android:drawable="@drawable/logo1" android:duration="100" />
<!-- -->
<item android:drawable="@drawable/logo2" android:duration="100" />
<item android:drawable="@drawable/logo3" android:duration="100" />
</animation-list>