Skip to Content
Former Member
Feb 04, 2014 at 01:22 PM

Matrix layout - best way to get columns to line up



I'm using a matrix layout to make a bunch of columns (around 60) appear nicely in a form.

There are going to be three columns in the form 'Total amounts', 'Unit amounts', 'Currency for amounts'.

The problem I'm facing is that the heading for the columns are all appearing next to each other in matrix layout:

I've created a Transparent container, into which I've added a Group container (with Matrixlayout) and this holds all the fields.

The headings are TextView elements with a design of Header1 and the first heading (TOTAL) is Matrixheaddata and the UNIT is Matrixdata.

Does anyone know how I can add a space between them so that the headings appears like this:

(I just added an empty TextView element but I'm sure that's not the correct way of doing this)