Save the date! Android Dev Summit is coming to Mountain View, CA on November 7-8, 2018.
added in version 1.0.0
belongs to Maven artifact androidx.gridlayout:gridlayout:1.0.0-rc01


public static abstract class GridLayout.Alignment
extends Object

   ↳ androidx.gridlayout.widget.GridLayout.Alignment

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


Public methods

String toString()

Inherited methods

Public methods


public String toString ()