Android.App.ActivityOptions.MakeSceneTransitionAnimation Method
Create an ActivityOptions to transition between Activities using cross-Activity scene animations.

Syntax

[Android.Runtime.Register("makeSceneTransitionAnimation", "(Landroid/app/Activity;Landroid/view/View;Ljava/lang/String;)Landroid/app/ActivityOptions;", "")]
public static ActivityOptions MakeSceneTransitionAnimation (Activity activity, Android.Views.View sharedElement, string sharedElementName)

See Also

Android.Transitions.Transition.SetEpicenterCallback(.EpicenterCallback)

Parameters

activity
The Activity whose window contains the shared elements.
sharedElement
The View to transition to the started Activity.
sharedElementName
The shared element name as used in the target Activity. This must not be null.

Returns

Documentation for this section has not yet been entered.

Remarks

Create an ActivityOptions to transition between Activities using cross-Activity scene animations. This method carries the position of one shared element to the started Activity. The position of sharedElement will be used as the epicenter for the exit Transition. The position of the shared element in the launched Activity will be the epicenter of its entering Transition.

This requires Android.Views.Window.FEATURE_ACTIVITY_TRANSITIONS to be enabled on the calling Activity to cause an exit transition. The same must be in the called Activity to get an entering transition.

[Android Documentation]

Requirements

Namespace: Android.App
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 16