Android Guides | Samples

Android.Graphics.Drawables.LayerDrawable.GetDrawable Method

Returns the drawable for the layer at the specified index.

Syntax

[Android.Runtime.Register("getDrawable", "(I)Landroid/graphics/drawable/Drawable;", "GetGetDrawable_IHandler")]
public virtual Drawable GetDrawable (Int32 index)

See Also

Parameters

index
The index of the layer, must be in the range 0...getNumberOfLayers()-1.

Remarks

Returns the drawable for the layer at the specified index.

[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