Android Stretch columns evenly in a TableLayout

Viewed 82611

I am displaying a table of values in my android application, and would like the columns to be distributed evenly in terms of size , instead of sizing according to content.

Been playing around with stretchColumns but couldn't manage to figure out the right combination, Any Ideas?

5 Answers

Use the android:layout_weight for the columns

Related