View.SetMinimumHeight(Int32) 方法

定義

設定視野的最小高度。

[Android.Runtime.Register("setMinimumHeight", "(I)V", "GetSetMinimumHeight_IHandler")]
public virtual void SetMinimumHeight(int minHeight);
[<Android.Runtime.Register("setMinimumHeight", "(I)V", "GetSetMinimumHeight_IHandler")>]
abstract member SetMinimumHeight : int -> unit
override this.SetMinimumHeight : int -> unit

參數

minHeight
Int32

視圖嘗試達到的最小高度,以像素為單位

屬性

備註

設定視野的最小高度。 但不保證視角能達到此最低高度(例如,若其母版設計限制其可用高度較低)。

android.view.View.setMinimumHeight(int)Java 檔。

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於

另請參閱