GridLayout.AlignBounds 字段

定义

注意

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。 设置为 > 时,将在每个组件的原始视图边界的边缘之间进行对齐:即由组件: 属性分隔的区域。

例如,当处于模式时GridLayout,属于使用#TOP对齐方式的行组的子级将在调用方法android.view.View#getTop()时返回相同的#ALIGN_BOUNDS值。

适用于 . 的 android.widget.GridLayout.ALIGN_BOUNDSJava 文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于

另请参阅