Compartir a través de


LayerDrawable.SetLayerHeight(Int32, Int32) Method

Definition

[Android.Runtime.Register("setLayerHeight", "(II)V", "GetSetLayerHeight_IIHandler", ApiSince=23)]
public virtual void SetLayerHeight (int index, int h);
[<Android.Runtime.Register("setLayerHeight", "(II)V", "GetSetLayerHeight_IIHandler", ApiSince=23)>]
abstract member SetLayerHeight : int * int -> unit
override this.SetLayerHeight : int * int -> unit

Parameters

index
Int32

the index of the layer to adjust

h
Int32

height in pixels, or -1 to use the intrinsic height

Attributes

Remarks

Java documentation for android.graphics.drawable.LayerDrawable.setLayerHeight(int, 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