Hi all I have to images say image1 and image2 I want to display both images on timer, only one image should be visible at a time. Both images are overlapped, meaning, image1
The code does not changes from first image to next.
is any thing wrong withthis code?
final ImageView splashImage = (ImageView) findViewById(R.id.ImageView01);
splashImage.setBackgroundResource(R.drawable.splash);
AnimationDrawable splashAnimation = (AnimationDrawable) splashImage.getBackground();
splashAnimation.start();