I. Overview of Tablelayout
The Tablelayout table layout model manages child controls in the form of rows and columns, each of which behaves as a TableRow object, or it can be a view object
Second, the global properties of Tablelayout
android:collapsecolumns = "Up" hides the indexed column starting from 0, and the column must be separated directly ongoing comma: 1,2,5
Android:shrikcolumns = "Up" shrinks the index column starting at 0. When a Lietaikuan (too much content) is not squeezed out of the screen, the column must be separated by commas: 1,2,5, you can use "*" instead of shrinking all the columns. Note that a column can represent both contraction and stretching.
Android:stretchcolumns = "Up" stretches the index column starting at 0. To fill the rest of the remaining blank controls, the columns must be separated by commas: "*" instead of shrinking all columns. Note that a column can represent both contraction and stretching.
Tablelayout Local properties (all properties of internal controls)
Android:layout_column = "1" The control is displayed in the second column
Android:layout_span = "2" The control occupies 2 columns
Android layout table layout tablelayout