Mahesh Vaghela wrote:
> Hi all.
> 
> In my application I want to display a large image in the center of the
> screen.
> I then want to change this image with some animation after a specific
> interval of time.
> 
> for example, I have total 5 images.
> 
> 1st image is displayed just with the start of the applcation.
> 2nd image should be displayed after 3 seconds
> 3rd image should be displayed after 7 seconds
> 4th image should be displayed after 5 seconds
> 5th image should be displayed after 4 seconds
> 
> Can any one guide me how can I achieve this functionality.
> 
> I tried with a ViewFlipper having its flipInterval set to 5000 (5
> second)
> But this changes all the images at a fix interval of 5 second.
> 
> I want to set this changing time for each image differently.

Use a Handler or something to trigger a call to setImageResource() (or 
whatever) on your ImageView at the stated times.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 1.9 Published!

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to