I am trying to resolve a task with animation flashing. I have already posted this issue on other forums, but still can't find any solution. So, problem is following.
I use two ImageViews to create animation of moving ball. The animation has following scenario:
- ball is moving from left to right (TranslateAnimation is started).
- ball stops (TranslateAnimation reached the end)
- in animation listener I set left ImageView's drawable to NULL and set right ImageView to display ball bitmap. Here I have flash effect.
- after this I run second animation which moves ball from right to left.
Could you please help with the animation issue? What I didn't take into account or what I missed here?