Language

FragmentTransaction.SetCustomAnimations Method

Definition

Overloads

Name Description
SetCustomAnimations(Int32, Int32)

Set specific animation resources to run for the fragments that are entering and exiting in this transaction.

SetCustomAnimations(Int32, Int32, Int32, Int32)

Set specific animation resources to run for the fragments that are entering and exiting in this transaction.

SetCustomAnimations(Int32, Int32)

Set specific animation resources to run for the fragments that are entering and exiting in this transaction.

[Android.Runtime.Register("setCustomAnimations", "(II)Landroid/app/FragmentTransaction;", "GetSetCustomAnimations_IIHandler")]
public abstract Android.App.FragmentTransaction? SetCustomAnimations(int enter, int exit);
[<Android.Runtime.Register("setCustomAnimations", "(II)Landroid/app/FragmentTransaction;", "GetSetCustomAnimations_IIHandler")>]
abstract member SetCustomAnimations : int * int -> Android.App.FragmentTransaction

Parameters

enter
Int32

int

exit
Int32

int

Returns

The same FragmentTransaction instance, allowing additional transaction operations to be chained.

Attributes

Remarks

Set specific animation resources to run for the fragments that are entering and exiting in this transaction. These animations will not be played when popping the back stack.

Android reference for android.app.FragmentTransaction.setCustomAnimations.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

SetCustomAnimations(Int32, Int32, Int32, Int32)

Set specific animation resources to run for the fragments that are entering and exiting in this transaction.

[Android.Runtime.Register("setCustomAnimations", "(IIII)Landroid/app/FragmentTransaction;", "GetSetCustomAnimations_IIIIHandler")]
public abstract Android.App.FragmentTransaction? SetCustomAnimations(int enter, int exit, int popEnter, int popExit);
[<Android.Runtime.Register("setCustomAnimations", "(IIII)Landroid/app/FragmentTransaction;", "GetSetCustomAnimations_IIIIHandler")>]
abstract member SetCustomAnimations : int * int * int * int -> Android.App.FragmentTransaction

Parameters

enter
Int32

int

exit
Int32

int

popEnter
Int32

int

popExit
Int32

int

Returns

The same FragmentTransaction instance, allowing additional transaction operations to be chained.

Attributes

Remarks

Set specific animation resources to run for the fragments that are entering and exiting in this transaction. The popEnter and popExit animations will be played for enter/exit operations specifically when popping the back stack.

Android reference for android.app.FragmentTransaction.setCustomAnimations.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to