LayerDrawable.SetLayerHeight(Int32, Int32) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
[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
高度以像素為單位,或 -1,使用內在高度
- 屬性
備註
Java 文件 android.graphics.drawable.LayerDrawable.setLayerHeight(int, int)。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。