GridLayout.AlignBounds Field
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
This constant will be removed in the future version. Use Android.Widget.GridAlign enum directly instead of this field.
This constant is an #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
Field Value
Value = 0- Attributes
Remarks
This constant is an #setAlignmentMode(int) alignmentMode
. When the alignmentMode
is set to #ALIGN_BOUNDS
, alignment is made between the edges of each component's raw view boundary: i.e. the area delimited by the component's: android.view.View#getTop() top
, android.view.View#getLeft() left
, android.view.View#getBottom() bottom
and android.view.View#getRight() right
properties.
For example, when GridLayout
is in #ALIGN_BOUNDS
mode, children that belong to a row group that uses #TOP
alignment will all return the same value when their android.view.View#getTop()
method is called.
Java documentation for android.widget.GridLayout.ALIGN_BOUNDS
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.