Here is the example code:
ImageView carrotsmile =(ImageView) findViewById(R.id.carrotsmile);
rocketImage.setBackgroundResource(R.drawable.animation);
main = (AnimationDrawable) carrotsmile.getBackground();}
}
What would I replace rocketAnimation, carrotsmile, rocketimage, and main with? Like my XML files or something in the xml files, or an image?
Please explain what they all are.