LayerDrawable.GetDrawable(Int32) LayerDrawable.GetDrawable(Int32) Method

Definition

Returns the drawable for the layer at the specified index.

[Android.Runtime.Register("getDrawable", "(I)Landroid/graphics/drawable/Drawable;", "GetGetDrawable_IHandler")]
public virtual Android.Graphics.Drawables.Drawable GetDrawable (int index);
abstract member GetDrawable : int -> Android.Graphics.Drawables.Drawable
override this.GetDrawable : int -> Android.Graphics.Drawables.Drawable

Parameters

index
Int32 Int32

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

Returns

Remarks

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