Share via


LayerDrawable.SetLayerHeight(Int32, Int32) メソッド

定義

[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

パラメーター

index
Int32

調整するレイヤーのインデックス

h
Int32

height (ピクセル単位)、または -1 (組み込みの高さを使用する場合)

属性

注釈

の Java ドキュメント android.graphics.drawable.LayerDrawable.setLayerHeight(int, int)

このページの一部は、によって作成および共有された作業に基づく変更であり、に記載されている条件に従って使用されます。

適用対象