ActivityOptions.MakeThumbnailScaleUpAnimation 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.
Create an ActivityOptions specifying an animation where a thumbnail is scaled from a given position to the new activity window that is being started.
[Android.Runtime.Register("makeThumbnailScaleUpAnimation", "(Landroid/view/View;Landroid/graphics/Bitmap;II)Landroid/app/ActivityOptions;", "")]
public static Android.App.ActivityOptions? MakeThumbnailScaleUpAnimation(Android.Views.View? source, Android.Graphics.Bitmap? thumbnail, int startX, int startY);
[<Android.Runtime.Register("makeThumbnailScaleUpAnimation", "(Landroid/view/View;Landroid/graphics/Bitmap;II)Landroid/app/ActivityOptions;", "")>]
static member MakeThumbnailScaleUpAnimation : Android.Views.View * Android.Graphics.Bitmap * int * int -> Android.App.ActivityOptions
Parameters
- source
- View
View: The View that this thumbnail is animating from. This defines the coordinate space for startX and startY.
- thumbnail
- Bitmap
Bitmap: The bitmap that will be shown as the initial thumbnail of the animation.
- startX
- Int32
int: The x starting location of the bitmap, relative to source.
- startY
- Int32
int: The y starting location of the bitmap, relative to source.
Returns
- Attributes
Remarks
Create an ActivityOptions specifying an animation where a thumbnail is scaled from a given position to the new activity window that is being started. If the Intent this is being used with has not set its Intent.setSourceBounds, those bounds will be filled in for you based on the initial thumbnail location and size provided here.
Android reference for android.app.ActivityOptions.makeThumbnailScaleUpAnimation.
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.