Android.Graphics.Drawables.LayerDrawable.SetDrawableByLayerId Method
Sets (or replaces) the Android.Graphics.Drawables.Drawable for the layer with the given id.

Syntax

[Android.Runtime.Register("setDrawableByLayerId", "(ILandroid/graphics/drawable/Drawable;)Z", "GetSetDrawableByLayerId_ILandroid_graphics_drawable_Drawable_Handler")]
public virtual bool SetDrawableByLayerId (int id, Drawable drawable)

Parameters

id
The layer ID to search for.
drawable
The replacement Android.Graphics.Drawables.Drawable.

Returns

Documentation for this section has not yet been entered.

Remarks

Sets (or replaces) the Android.Graphics.Drawables.Drawable for the layer with the given id.

[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