Partager via


LayoutAnimationController.GetAnimationForView(View) Method

Definition

Returns the animation to be applied to the specified view.

[Android.Runtime.Register("getAnimationForView", "(Landroid/view/View;)Landroid/view/animation/Animation;", "")]
public Android.Views.Animations.Animation? GetAnimationForView (Android.Views.View? view);
[<Android.Runtime.Register("getAnimationForView", "(Landroid/view/View;)Landroid/view/animation/Animation;", "")>]
member this.GetAnimationForView : Android.Views.View -> Android.Views.Animations.Animation

Parameters

view
View

the view to animate

Returns

an animation delayed by the number of milliseconds returned by #getDelayForView(android.view.View)

Attributes

Remarks

Returns the animation to be applied to the specified view. The returned animation is delayed by an offset computed according to the information provided by android.view.animation.LayoutAnimationController.AnimationParameters. This method is called by view groups to obtain the animation to set on a specific child.

Java documentation for android.view.animation.LayoutAnimationController.getAnimationForView(android.view.View).

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