Taal

FragmentTransaction.SetTransition(FragmentTransit) Method

Definition

Select a standard transition animation for this transaction.

[Android.Runtime.Register("setTransition", "(I)Landroid/app/FragmentTransaction;", "GetSetTransition_IHandler")]
public abstract Android.App.FragmentTransaction? SetTransition(Android.App.FragmentTransit transit);
[<Android.Runtime.Register("setTransition", "(I)Landroid/app/FragmentTransaction;", "GetSetTransition_IHandler")>]
abstract member SetTransition : Android.App.FragmentTransit -> Android.App.FragmentTransaction

Parameters

transit
FragmentTransit

int: Value is one of the following: None FragmentOpen FragmentClose FragmentFade

Returns

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

Attributes

Remarks

Select a standard transition animation for this transaction. May be one of TRANSIT_NONE, TRANSIT_FRAGMENT_OPEN, TRANSIT_FRAGMENT_CLOSE, or TRANSIT_FRAGMENT_FADE.

Android reference for android.app.FragmentTransaction.setTransition.

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