FragmentTransaction.SetTransition(FragmentTransit) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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: TRANSIT_NONE TRANSIT_FRAGMENT_OPEN TRANSIT_FRAGMENT_CLOSE TRANSIT_FRAGMENT_FADE
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.