# Print output for @column tags ?> GridLayout.Alignment - Android SDK | Android Developers

Most visited


Recently visited


GridLayout.Alignment

public static abstract class GridLayout.Alignment
extends Object

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


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

The 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: GridLayout.TOP, GridLayout.LEFT, GridLayout.BOTTOM, GridLayout.RIGHT, GridLayout.START, GridLayout.END, GridLayout.CENTER, GridLayout.BASELINE and GridLayout.FILL.

Summary


Inherited methods

Browse this site in English?

You requested a page in English, but your language preference for this site is English.

Would you like to change your language preference and browse this site in English? If you want to change your language preference later, use the language menu at the bottom of each page.