共用方式為


ViewAnimator.SetInAnimation(Context, Int32) Method

Definition

Specifies the animation used to animate a View that enters the screen.

[Android.Runtime.Register("setInAnimation", "(Landroid/content/Context;I)V", "GetSetInAnimation_Landroid_content_Context_IHandler")]
public virtual void SetInAnimation (Android.Content.Context? context, int resourceID);
[<Android.Runtime.Register("setInAnimation", "(Landroid/content/Context;I)V", "GetSetInAnimation_Landroid_content_Context_IHandler")>]
abstract member SetInAnimation : Android.Content.Context * int -> unit
override this.SetInAnimation : Android.Content.Context * int -> unit

Parameters

context
Context

The application's environment.

resourceID
Int32

The resource id of the animation.

Attributes

Remarks

Specifies the animation used to animate a View that enters the screen.

Java documentation for android.widget.ViewAnimator.setInAnimation(android.content.Context, 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

See also