• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to animate images one after the another in android

 
sohaib rahman
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have three images that depicts the company logo, name and slogan. I want to animate these three images in such a way that a logo appears first, then the name and then the slogan. After these three animations, I want the screen to disappear and display a new activity. How to do this? Please help me.
 
Johan Pelgrim
Ranch Hand
Posts: 105
Android Java Mac
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Sohaib,

The ViewFlipper is what you need (Google for some examples, they're out there!). Set the android:autoStart attribute to true to start the animation when the ViewFlipper is displayed...

Good luck!

Johan
 
Johan Pelgrim
Ranch Hand
Posts: 105
Android Java Mac
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Sohaib,

Come to think of it. What you describe here is probably some kind of splash-screen? Unless you are doing some heavy background initialization I would advise against a splash-screen. Simply start your app as quickly as possible and present the user with the activity to perform the task they they downloaded and installed your app for in the first place. You can do the company logo animation bit in an about screen or something...

Again, good luck!

Johan
 
sohaib rahman
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Johan!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic