I using AnimationDrawable like this:
ImageView rocketImage = (ImageView) layout.findViewById(R.id.animation); rocketImage.setBackgroundResource(R.drawable.pr
view.post(new Runnable() { public void run() { anim.start(); } }); view.startAnimation(anim);
this works for me.