Udostępnij za pośrednictwem


ImageView.Drawable Property

Definition

Gets the current Drawable, or null if no Drawable has been assigned.

public virtual Android.Graphics.Drawables.Drawable? Drawable { [Android.Runtime.Register("getDrawable", "()Landroid/graphics/drawable/Drawable;", "GetGetDrawableHandler")] get; }
[<get: Android.Runtime.Register("getDrawable", "()Landroid/graphics/drawable/Drawable;", "GetGetDrawableHandler")>]
member this.Drawable : Android.Graphics.Drawables.Drawable

Property Value

the view's drawable, or null if no drawable has been assigned.

Attributes

Remarks

Gets the current Drawable, or null if no Drawable has been assigned.

Java documentation for android.widget.ImageView.getDrawable().

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