共用方式為


ProgressBar.Interpolator Property

Definition

Gets the acceleration curve type for the indeterminate animation. -or- Sets the acceleration curve for the indeterminate animation.

public virtual Android.Views.Animations.IInterpolator? Interpolator { [Android.Runtime.Register("getInterpolator", "()Landroid/view/animation/Interpolator;", "GetGetInterpolatorHandler")] get; [Android.Runtime.Register("setInterpolator", "(Landroid/view/animation/Interpolator;)V", "GetSetInterpolator_Landroid_view_animation_Interpolator_Handler")] set; }
[<get: Android.Runtime.Register("getInterpolator", "()Landroid/view/animation/Interpolator;", "GetGetInterpolatorHandler")>]
[<set: Android.Runtime.Register("setInterpolator", "(Landroid/view/animation/Interpolator;)V", "GetSetInterpolator_Landroid_view_animation_Interpolator_Handler")>]
member this.Interpolator : Android.Views.Animations.IInterpolator with get, set

Property Value

the Interpolator associated to this animation

Attributes

Remarks

Property getter documentation:

Gets the acceleration curve type for the indeterminate animation.

Java documentation for android.widget.ProgressBar.getInterpolator().

Property setter documentation:

Sets the acceleration curve for the indeterminate animation. Defaults to a linear interpolation.

The interpolator only affects the indeterminate animation if the #setIndeterminateDrawable(Drawable) supplied indeterminate drawable does not implement Animatable.

This call must be made before the indeterminate animation starts for it to have an affect.

Java documentation for android.widget.ProgressBar.setInterpolator(android.view.animation.Interpolator).

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