Android TableLayout Width

You may want to define the sizes of the columns by using a weight. So you will define the table layout height to fill parent but for each column you should set the width to “0px” and the weight to the percentage you want the column to span. So assuming you want the first column to be 30% of the screen width you set it’s weight to “0.3” and the second column to “0.7”.

Try it and see if that works.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)