I have a code that after a TraslateAnimation() ends the layout gets
recomputed (by using AnimationListener). This cause to flickering
effect.

I suspect that this problem  happens since the onAnimationEnd event is
called before the drawing of the last frame.

My solution was to postpone the layout process by a few milliseconds
and set the fillAfter(true) for the animation.

This will persist  the last frame of the animation before the re-
layout.

Hope this helps.

Lidor




-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to