Android.Graphics.Drawables.LayerDrawable.SetId Method
Sets the ID of a layer.

Syntax

[Android.Runtime.Register("setId", "(II)V", "GetSetId_IIHandler")]
public virtual void SetId (int index, int id)

Parameters

index
The index of the layer which will received the ID.
id
The ID to assign to the layer.

Remarks

Sets the ID of a 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