Android Guides | Samples

Android.Graphics.Drawables.LayerDrawable.GetId Method

Returns the ID of the specified layer.

Syntax

[Android.Runtime.Register("getId", "(I)I", "GetGetId_IHandler")]
public virtual Int32 GetId (Int32 index)

See Also

Parameters

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

Remarks

Returns the ID of the specified layer.

[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