Android APIs
public static abstract class

GridLayout.Alignment

extends Object
java.lang.Object
   ↳ android.support.v7.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

Public Methods
String toString()
Returns a string containing a concise, human-readable description of this object.
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public String toString ()

Returns a string containing a concise, human-readable description of this object. Subclasses are encouraged to override this method and provide an implementation that takes into account the object's type and data. The default implementation is equivalent to the following expression:

   getClass().getName() + '@' + Integer.toHexString(hashCode())

See Writing a useful toString method if you intend implementing your own toString method.

Returns
  • a printable representation of this object.