I'd like to animate an activity in my app. This is absolutely fine if I start the activity, but when I try to finish it, android shows me first the standard and then the fade animation.
@Override
public void onBackPressed() {
super.onBackPressed();
overridePendingTransition(android.R.anim.fade_out, android.R.anim.fade_in);
}
Do you have an answer for me?
Try overridePendingTransition(android.R.anim.fade_in, android.R.anim.fade_out);
These animations are for 2 Activitys.
I hope I understand it right