Android Guides | Samples

Android.Graphics.Drawables.LayerDrawable.NumberOfLayers Property

Returns the number of layers contained within this layer drawable.

Syntax

[get: Android.Runtime.Register("getNumberOfLayers", "()I", "GetGetNumberOfLayersHandler")]
public virtual Int32 NumberOfLayers { get; }

Remarks

Returns the number of layers contained within this layer drawable.

[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