Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

auto slideshow with fade in AND fade_out in Android using animations only fade-in

 
Niklas Karlsson
Ranch Hand
Posts: 87
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a problem with a imageView in a area that I want to have a "auto-slideshow" between 4 pictures (downloaded from web-URL) I want a fade in and fade out change between the pictures. the only thing I get to work is slideshow with:

fade in to a picture, and then "reset" the view blank, and then fade in a new image..

and not: fade in to a picture, and then fade in a new image.. or: fade in to a picture, and then fade out to blank an then in a new image..

do you have any ideas?

here in my code: //I reduced the "get URL bitmap" a bit..




And the animations is like this:

 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!