• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to create a sequence of pictures

 
Damiano Fossa
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi eveyone!
I'm doing an application in which I have to show a sequence of pictures: The sequence is the follow:

1. A red X has to be shown for more or less 400 milliseconds;
2. An image called "Screenshot" has to be shown for more or less 500 milliseconds;
3. An image called "Noise" has to be shown for more or less 50 milliseconds;
4. The "Noise" image disappear to make space for an EditText.



Now, I have to repeat this sequence for a specific number of times. How can I do that? Do I have to use a loop?
Thanks!
 
Damiano Fossa
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've updated the code:


But, if I have 5 pictures, it shows the first, the third and the fifth image. Why? Am I doing something wrong the index?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic