GridLayout.AlignBounds 欄位
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
This constant will be removed in the future version. Use Android.Widget.GridAlign enum directly instead of this field.
這個常數是一個 #setAlignmentMode(int) alignmentMode。
[Android.Runtime.Register("ALIGN_BOUNDS")]
[System.Obsolete("This constant will be removed in the future version. Use Android.Widget.GridAlign enum directly instead of this field.", true)]
public const Android.Widget.GridAlign AlignBounds = 0;
[<Android.Runtime.Register("ALIGN_BOUNDS")>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Widget.GridAlign enum directly instead of this field.", true)>]
val mutable AlignBounds : Android.Widget.GridAlign
欄位值
Value = 0- 屬性
備註
這個常數是一個 #setAlignmentMode(int) alignmentMode。 當 將 alignmentMode 設為 #ALIGN_BOUNDS時,會在每個元件的原始視圖邊界邊緣之間進行對齊:即由元件android.view.View#getTop() top的 、 、 android.view.View#getLeft() leftandroid.view.View#getBottom() bottom 及android.view.View#getRight() right屬性所界定的區域。
例如,當 GridLayout 處於 #ALIGN_BOUNDS 模式時,屬於使用 #TOP 對齊的列群組的子節點在呼叫時 android.view.View#getTop() 都會回傳相同的值。
Java 文件 android.widget.GridLayout.ALIGN_BOUNDS。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。