Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
Android APIs
public static abstract class

GridLayout.Alignment

extends Object
java.lang.Object
   ↳ android.widget.GridLayout.Alignment

Class Overview

Alignments specify where a view should be placed within a cell group and what size it should be.

The GridLayout.LayoutParams class contains a rowSpec and a columnSpec each of which contains an alignment . Overall placement of the view in the cell group is specified by the two alignments which act along each axis independently.

The GridLayout class defines the most common alignments used in general layout: TOP , LEFT , BOTTOM , RIGHT , START , END , CENTER , BASELINE and FILL .

Summary

[Expand]
Inherited Methods
From class java.lang.Object