Android layout issue - table/grid/linear
- by phpmysqlguy
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