Setting column width in Table View

Posted by Jeremy on Stack Overflow See other posts from Stack Overflow or by Jeremy
Published on 2010-04-25T15:39:05Z Indexed on 2010/04/25 15:43 UTC
Read the original article Hit count: 211

Filed under:

I am having a hard time understanding how to change the width of columns when creating a table view.

I know you can set the width in pixels of a column but that is not what I want to do.

Say, for instance, I have 2 columns and want each column to take up half the screen. How do I do this without explicitly setting the pixels, so that my code can work on multiple screen sizes?

© Stack Overflow or respective owner

Related posts about android