Android.Graphics.Drawables.StateListDrawable Class
Lets you assign a number of graphic images to a single Drawable and swap out the visible item by a string ID value.

See Also: StateListDrawable Members

Syntax

[Android.Runtime.Register("android/graphics/drawable/StateListDrawable", DoNotGenerateAcw=true)]
public class StateListDrawable : DrawableContainer

Remarks

Lets you assign a number of graphic images to a single Drawable and swap out the visible item by a string ID value.

It can be defined in an XML file with the <selector> element. Each state Drawable is defined in a nested <item> element. For more information, see the guide to Drawable Resources.

[Android Documentation]

Requirements

Namespace: Android.Graphics.Drawables
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1