Udostępnij za pośrednictwem


AnimationUtils.MakeOutAnimation(Context, Boolean) Method

Definition

Make an animation for objects becoming invisible.

[Android.Runtime.Register("makeOutAnimation", "(Landroid/content/Context;Z)Landroid/view/animation/Animation;", "")]
public static Android.Views.Animations.Animation? MakeOutAnimation (Android.Content.Context? c, bool toRight);
[<Android.Runtime.Register("makeOutAnimation", "(Landroid/content/Context;Z)Landroid/view/animation/Animation;", "")>]
static member MakeOutAnimation : Android.Content.Context * bool -> Android.Views.Animations.Animation

Parameters

c
Context

Context for loading resources

toRight
Boolean

is the object to be animated exiting to the right

Returns

The new animation

Attributes

Remarks

Make an animation for objects becoming invisible. Uses a slide and fade effect.

Java documentation for android.view.animation.AnimationUtils.makeOutAnimation(android.content.Context, boolean).

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