Udostępnij za pośrednictwem


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

Returns

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.

Java documentation for android.app.FragmentTransaction.setTransition(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