I have a two column TableLayout
as the only child of a scroll view. The first column contains TextViews
(\'labels\') and the second column contains
The pragmatic way to solve this is to use the stretchColumns
and shrinkColumns
attributes in TableLayout
. Their values should be 0-based indexes of columns.
For example, if you have a two column Table layout and:
TableLayout
fits the entire parent view on a large screen deviceyou would define your TableLayout
as: