public static class TableLayout.Specification extends Object
An element in a table layout must have a specific cell span, start cell, alignment mode or weight to determine its layout effect.
| 限定符和类型 | 字段 | 说明 |
|---|---|---|
int |
alignment |
Defines vertical alignment for rows or horizontal alignment for columns.
|
TableLayout.CellSpan |
span |
Defines the start cell and cell span of an element in the table layout.
|
boolean |
startDefined |
Indicates whether an index is set for the start cell of a component in the table layout.
|
float |
weight |
Indicates the weight of an element in the table layout.
|
public final int alignment
public final TableLayout.CellSpan span
TableLayout.CellSpanpublic final boolean startDefined
The value True indicates that an index is set for the start cell of a component in the table
layout;
the value False indicates that no index is set for the start cell of a component in the table layout.
public final float weight
public int getMinSpan()
public int getMaxSpan()