語言

View.MeasuredHeightAndState 屬性

定義

回傳此視圖的完整高度測量資訊,依據最近一次呼叫 。#measure(int, int)

public int MeasuredHeightAndState { [Android.Runtime.Register("getMeasuredHeightAndState", "()I", "")] get; }
[<get: Android.Runtime.Register("getMeasuredHeightAndState", "()I", "")>]
member this.MeasuredHeightAndState : int

屬性值

這個視角的測量高度,作為位遮罩。

屬性

備註

回傳此視圖的完整高度測量資訊,依據最近一次呼叫 。#measure(int, int) 此結果為由定義 #MEASURED_SIZE_MASK 的 #MEASURED_STATE_TOO_SMALL位元遮罩。 此方法僅用於測量與佈局計算。 用來 #getHeight() 判斷佈局後視野的高度。

Java 文件 android.view.View.getMeasuredHeightAndState()。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於