다음을 통해 공유


LayerDrawable.NumberOfLayers Property

Definition

Returns the number of layers contained within this layer drawable.

public virtual int NumberOfLayers { [Android.Runtime.Register("getNumberOfLayers", "()I", "GetGetNumberOfLayersHandler")] get; }
[<get: Android.Runtime.Register("getNumberOfLayers", "()I", "GetGetNumberOfLayersHandler")>]
member this.NumberOfLayers : int

Property Value

The number of layers.

Attributes

Remarks

Returns the number of layers contained within this layer drawable.

Java documentation for android.graphics.drawable.LayerDrawable.getNumberOfLayers().

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