Android TranslateAnimation resets after animation
Posted
by monmonja
on Stack Overflow
See other posts from Stack Overflow
or by monmonja
Published on 2010-04-16T03:10:53Z
Indexed on
2010/04/16
3:13 UTC
Read the original article
Hit count: 869
I'm creating something like a SlideDrawer but with most customization, basically the thing is working but the animation is flickering at the end.
To further explain, I got an TranslateAnimation then after this animation it returns back to the original position, if i set setFillAfter then the buttons inside the layout stops working. If i listen to onAnimationEnd and set other's layout to View.GONE the layout fickers. Judging from it is that on animation end, the view goes back to original position before the View.GONE is called.
Any advice would be awesome. Thanks
© Stack Overflow or respective owner