Condividi tramite


Drawable.Current Property

Definition

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

Property Value

The current drawable that will be used by this drawable. For simple drawables, this is just the drawable itself. For drawables that change state like StateListDrawable and LevelListDrawable this will be the child drawable currently in use.

Attributes

Remarks

Java documentation for android.graphics.drawable.Drawable.getCurrent().

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