I guess I am too dumb figuring out how to do this. So, I hope someone is smart enough to help me.
Here is the activity in Java: ` public class FunkyActivity extends Activity {
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
final ImageView animImage = (ImageView) findViewById(R.id.stickman);
final AnimationDrawable animDrawable = (AnimationDrawable) animImage.getDrawable();
animImage.post(
new Runnable() {
public void run() {
animDrawable.start();
}
}
);
}
} `