Udostępnij za pośrednictwem


AnimationUtils.MakeInAnimation(Context, Boolean) Method

Definition

Make an animation for objects becoming visible.

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

Parameters

c
Context

Context for loading resources

fromLeft
Boolean

is the object to be animated coming from the left

Returns

The new animation

Attributes

Remarks

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

Java documentation for android.view.animation.AnimationUtils.makeInAnimation(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