Now I have four Images and I have applied frame animation on these
four images
1.one
2.two
3.three
4.Go
I want to give a time delay between three and Go frame which would be
a random time.
Here is my code
int d=5000;
AnimationDrawable drawable=new AnimationDrawable();
drawable.addFrame(getResources().getDrawable(R.drawable.one),
1000);
drawable.addFrame(getResources().getDrawable(R.drawable.two),
1000);
drawable.addFrame(getResources().getDrawable(R.drawable.three),d);
drawable.addFrame(getResources().getDrawable(R.drawable.go),d);
drawable.setOneShot(true);
iv3.setBackgroundDrawable(drawable);
drawable.start();
Where iv3 is my ImageView
And I also want to give Scale animation with frame-by-frame animation
on these images.
Please Help me out...
Th@nks
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en