Stretch Columns Evenly In A TableLayout In Android

If you want to have columns in your TableLayout having even widths, use the android:stretchColumns attribute and use the asterisk value to have all of them evened out.

Or … you can do it using the uneasy route by doing this

This sample is if your TableLayout has 3 columns.

Related Posts Plugin for WordPress, Blogger...

Leave a Reply

Your email address will not be published. Required fields are marked *