Android TranslateAnimation resets after animation
- by monmonja
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