lightbulb_outline Please take our October 2018 developer survey. Start survey
added in version 25.1.0
belongs to Maven artifact com.android.support:gridlayout-v7:28.0.0-alpha1

GridLayout.Alignment

public static abstract class GridLayout.Alignment
extends Object

java.lang.Object
   ↳ android.support.v7.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: TOP, LEFT, BOTTOM, RIGHT, START, END, CENTER, BASELINE and FILL.

Summary

Public methods

String toString()

Inherited methods

From class java.lang.Object

Public methods

toString

String toString ()

Returns
String