Android layout issue - table/grid/linear
Posted
by
phpmysqlguy
on Stack Overflow
See other posts from Stack Overflow
or by phpmysqlguy
Published on 2012-09-28T03:35:24Z
Indexed on
2012/09/28
3:37 UTC
Read the original article
Hit count: 172
android
|android-layout
I am trying to wrap my head around some basic layout issues in android. Here is what I want as my final goal:
As you can see, various fields set up like that. The fields get filled in based on XML data. There could be 1 set of fields, or there could be more.
I tried a tablelayout, but couldn't get it set up right even when layout_span for Field 7. It worked ok, but when I tried to change the widths of Field 1 thru 5, the spanned row below it didn't conform to the changes (not like an HTML table would).
The fields in each group need to lineup if there are more than one (see red lines in image).
Can someone point me in the right direction on how I should approach this?
Thanks
© Stack Overflow or respective owner