• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Bear Bibeault
  • Knute Snortum
  • Liutauras Vilda
Sheriffs:
  • Tim Cooke
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Tim Moores
  • Frits Walraven
  • Ron McLeod
  • Ganesh Patekar
  • salvin francis
Bartenders:
  • Tim Holloway
  • Carey Brown
  • Stephan van Hulst

How to create a sequence of pictures  RSS feed

 
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?
 
The problems of the world fade way as you eat a piece of pie. This tiny ad has never known problems:
RavenDB is an Open Source NoSQL Database that’s fully transactional (ACID) across your database
https://coderanch.com/t/704633/RavenDB-Open-Source-NoSQL-Database
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!