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.