This example is similar to the above column, but introduces the use of android: layout_column = "1" to specify the sequence number of the column to be added, skipping the first column:
<TableLayout xmlns: android = "http://schemas.android.com/apk/res/android"
Android: layout_width = "match_parent"
Android: layout_height = "match_parent"
Android: stretchColumns = "1">
<TableRow>
<TextView
Android: layout_column = "1 ″
Android: text = "@ string/table_layout_6_open"
Android: padding = "3dip"/>
<TextView
Android: text = "@ string/table_layout_6_open_shortcut"
Android: gravity = "right"
Android: padding = "3dip"/>
</TableRow>
<TableRow>
<TextView
Android: layout_column = "1 ″
Android: text = "@ string/table_layout_6_save"
Android: padding = "3dip"/>
<TextView
Android: text = "@ string/table_layout_6_save_shortcut"
Android: gravity = "right"
Android: padding = "3dip"/>
</TableRow>
<TableRow>
<TextView
Android: layout_column = "1 ″
Android: text = "@ string/table_layout_6_save_as"
Android: padding = "3dip"/>
<TextView
Android: text = "@ string/table_layout_6_save_as_shortcut"
Android: gravity = "right"
Android: padding = "3dip"/>
</TableRow>
<View
Android: layout_height = "2dip"
Android: background = "# FF909090"/>
<TableRow>
<TextView
Android: text = "@ string/table_layout_6_x"
Android: padding = "3dip"/>
<TextView
Android: text = "@ string/table_layout_6_import"
Android: padding = "3dip"/>
</TableRow>
<TableRow>
<TextView
Android: text = "@ string/table_layout_6_x"
Android: padding = "3dip"/>
<TextView
Android: text = "@ string/table_layout_6_export"
Android: padding = "3dip"/>
<TextView
Android: text = "@ string/table_layout_6_export_shortcut"
Android: gravity = "right"
Android: padding = "3dip"/>
</TableRow>
<View
Android: layout_height = "2dip"
Android: background = "# FF909090"/>
<TableRow>
<TextView
Android: layout_column = "1 ″
Android: text = "@ string/table_layout_6_quit"
Android: padding = "3dip"/>
</TableRow>
</TableLayout>