How to add an animation to the Activity finish()

Standard

You have to override a pending transition just calling after finish();
in this case you have done it to avoid transitions.

finish();
this.overridePendingTransition(R.anim.yoursIn,R.anim.yoursOut);

Order is important.

2 thoughts on “How to add an animation to the Activity finish()

Leave a Reply

Your email address will not be published. Required fields are marked *