語言

View.CombineMeasuredStates(Int32, Int32) 方法

定義

合併兩個狀態, #getMeasuredState()由 返回。

[Android.Runtime.Register("combineMeasuredStates", "(II)I", "")]
public static int CombineMeasuredStates(int curState, int newState);
[<Android.Runtime.Register("combineMeasuredStates", "(II)I", "")>]
static member CombineMeasuredStates : int * int -> int

參數

curState
Int32

從一個視圖回傳的當前狀態,或是合併多個視圖的結果。

newState
Int32

新的觀點狀態將合併。

傳回

回傳一個反映兩個狀態組合的新整數。

屬性

備註

合併兩個狀態, #getMeasuredState()由 返回。

Java 文件 android.view.View.combineMeasuredStates(int, int)。

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

適用於