Wednesday, 13 April 2016

XML : Table Layout with dynamic amount of rows and dynamic content

Im pretty new to Android Development, so after like three days of trying different things with the XML Layout Design, i give up and hope for help from you guys.

What i want to achieve:

A table layout with with multiple rows, each filled with calculations im making in the background

The first three rows shall contain the input parameters, the following ~12 rows shall contain output parameters

rows 3 to 6 shall be rearrangeable, so to speak change name and shown values.

This is the concept, thats what one row should look like:

enter image description here

My way of trying things was: Creating a TableRow for "Taupunkt" and "Td" and another one for three textfields and the +/- picture.

But how on earth am i supposed to insert the ">" arrows picture into the layout? Basically it should be centered between the rows.

I hope i did a clear explanation of my problem and hope that there is someone out there who can help me :)

PS.: App is going to support Android 4.0 and above

No comments:

Post a Comment