Hi, I will describe briefly what I am currently trying to implement:
I have a number of cards (for example 8); I am trying to do shuffle using Translate Animation. But in the shuffle process I am experiencing UI issue. I will describe what kind of issue I have: card B is moved to new position (position A) using Translate Animation during this card A is moved to position B using Translate Animation This like (A B) -> (B A). So we have position swap. But after this I will probably have (for instance) to swap card B with another card C. This requires that in onAnimationEnd method of AnimationListener I will have to set a real card image to do the next swap. And this action creates effect of flashing. I have tried to set in animation XML a "fillAfter" flag, this looks like helps, but I have wrong images during shuffle. If you remove "fillAfter", after animation ends the image disappears and only after triggers onAnimationEnd method, so anyway I have a short time interval when the UI is incorrect. Could you please advice an idea of possible approach to solve this problem? Thanks. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---