Reputation: 2651
How can I create a Slide-Bottom-To-Top animation when close/stop an activity in android application?
Upvotes: 2
Views: 2631
Reputation: 16357
For the animation, use something like
hideWithSlideUp = new TranslateAnimation(0, 0, 0, -displayHeight);
You may have problems if you want the animation to be used on every application stop, including Android killing your app or the user starting a new full-screen Activity.
Upvotes: 2