How to create Bottom-Top animation when closing / stopping an activity in android

How do I create a Slide-Bottom To-Top animation when closing / stopping an activity in an Android app?

+2


source to share


1 answer


For animation use something like

hideWithSlideUp = new TranslateAnimation(0, 0, 0, -displayHeight);

      



You might get into trouble if you want animation to be used for all apps, including Android killing your app, or a user launching a new fullscreen activity.

+2


source







All Articles