Partager via


FragmentTransaction.SetCustomAnimations Method

Definition

Overloads

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
exit
Int32

Returns

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.

Java documentation for android.app.FragmentTransaction.setCustomAnimations(int, int).

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
exit
Int32
popEnter
Int32
popExit
Int32

Returns

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.

Java documentation for android.app.FragmentTransaction.setCustomAnimations(int, int, int, int).

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