Compartilhar via


LayerDrawable.GetLayerHeight(Int32) Method

Definition

[Android.Runtime.Register("getLayerHeight", "(I)I", "GetGetLayerHeight_IHandler", ApiSince=23)]
public virtual int GetLayerHeight (int index);
[<Android.Runtime.Register("getLayerHeight", "(I)I", "GetGetLayerHeight_IHandler", ApiSince=23)>]
abstract member GetLayerHeight : int -> int
override this.GetLayerHeight : int -> int

Parameters

index
Int32

the index of the drawable to adjust

Returns

the explicit height of the layer, or -1 if not specified

Attributes

Remarks

Java documentation for android.graphics.drawable.LayerDrawable.getLayerHeight(int).

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