Sdílet prostřednictvím


ObjectAnimator.SetProperty(Property) Method

Definition

Sets the property that will be animated.

[Android.Runtime.Register("setProperty", "(Landroid/util/Property;)V", "")]
public void SetProperty (Android.Util.Property property);
[<Android.Runtime.Register("setProperty", "(Landroid/util/Property;)V", "")>]
member this.SetProperty : Android.Util.Property -> unit

Parameters

property
Property

The property being animated. Should not be null.

Attributes

Remarks

Sets the property that will be animated. Property objects will take precedence over properties specified by the #setPropertyName(String) method. Animations should be set up to use one or the other, not both.

Java documentation for android.animation.ObjectAnimator.setProperty(android.util.Property).

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