ActivityOptions.MakeClipRevealAnimation Method

Definition

Create an ActivityOptions specifying an animation where the new activity is revealed from a small originating area of the screen to its final full representation.

[Android.Runtime.Register("makeClipRevealAnimation", "(Landroid/view/View;IIII)Landroid/app/ActivityOptions;", "", ApiSince=23)]
public static Android.App.ActivityOptions? MakeClipRevealAnimation (Android.Views.View? source, int startX, int startY, int width, int height);
[<Android.Runtime.Register("makeClipRevealAnimation", "(Landroid/view/View;IIII)Landroid/app/ActivityOptions;", "", ApiSince=23)>]
static member MakeClipRevealAnimation : Android.Views.View * int * int * int * int -> Android.App.ActivityOptions

Parameters

source
View

The View that the new activity is animating from. This defines the coordinate space for <var>startX</var> and <var>startY</var>.

startX
Int32

The x starting location of the new activity, relative to <var>source</var>.

startY
Int32

The y starting location of the activity, relative to <var>source</var>.

width
Int32

The initial width of the new activity.

height
Int32

The initial height of the new activity.

Returns

Returns a new ActivityOptions object that you can use to supply these options as the options Bundle when starting an activity.

Attributes

Remarks

Create an ActivityOptions specifying an animation where the new activity is revealed from a small originating area of the screen to its final full representation.

Java documentation for android.app.ActivityOptions.makeClipRevealAnimation(android.view.View, 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