Wraping EditText Boxes in Layout
Posted
by eric
on Stack Overflow
See other posts from Stack Overflow
or by eric
Published on 2010-04-01T14:09:05Z
Indexed on
2010/04/01
14:13 UTC
Read the original article
Hit count: 218
I have a UI that has 6 EditText boxes. 3 of those EditText boxes don't show up when in vertical orientation. I was hoping that wrap_content would wrap the non-showing 3 to the next line but found out that LinearLayout only allows for one row.
When in horizontal orientation I get all 6 of them showing.
I tried a TableView with two rows of 3 each. That looks dorky when in horizontal orientation.
Do I need code to determine when the orientation changes to redraw those EditText boxes so it looks better or is there some layout that will automatically wrap when in vertical orientation?
© Stack Overflow or respective owner