- enterAnim
- A resource ID of the animation resource to use for the incoming activity. Use 0 for no animation.
- exitAnim
- A resource ID of the animation resource to use for the outgoing activity. Use 0 for no animation.
Call immediately after one of the flavors of Activity.startActivity(android.content.Intent) or Activity.Finish to specify an explicit transition animation to perform next.
As of NoType:android/os/Build$VERSION_CODES;Href=../../../reference/android/os/Build.VERSION_CODES.html#JELLY_BEAN an alternative to using this with starting activities is to supply the desired animation information through a Android.App.ActivityOptions bundle to {@link #startActivity(Intent, Bundle) or a related function. This allows you to specify a custom animation even when starting an activity from outside the context of the current top activity.