Udostępnij za pośrednictwem


ProgressBar.CurrentDrawable Property

Definition

Returns the drawable currently used to draw the progress bar.

public virtual Android.Graphics.Drawables.Drawable? CurrentDrawable { [Android.Runtime.Register("getCurrentDrawable", "()Landroid/graphics/drawable/Drawable;", "GetGetCurrentDrawableHandler", ApiSince=29)] get; }
[<get: Android.Runtime.Register("getCurrentDrawable", "()Landroid/graphics/drawable/Drawable;", "GetGetCurrentDrawableHandler", ApiSince=29)>]
member this.CurrentDrawable : Android.Graphics.Drawables.Drawable

Property Value

the drawable currently used to draw the progress bar

Attributes

Remarks

Returns the drawable currently used to draw the progress bar. This will be either #getProgressDrawable() or #getIndeterminateDrawable() depending on whether the progress bar is in determinate or indeterminate mode.

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

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