I am working on a listview and need to put 4 items on each "cell". I'm using TwoLines Layout, so I put 2 items on the first line and 2 items on the second line.
This all works fine, but I think it will look better if I can "rightalign" the second item on both lines.
The width of the listview is 100%x
The TextSize of the first line is 14
The TextSize of the second line 12
I'm trying to make up a line with Item2, + some spaces + Item2 (for the top)
The same for the bottom.
How can I calculate how many characters can I put on the first line and the second line. Then I can calculate how many spaces to add between the two items.
Hope this all makes sense
:sign0085:
This all works fine, but I think it will look better if I can "rightalign" the second item on both lines.
The width of the listview is 100%x
The TextSize of the first line is 14
The TextSize of the second line 12
I'm trying to make up a line with Item2, + some spaces + Item2 (for the top)
The same for the bottom.
How can I calculate how many characters can I put on the first line and the second line. Then I can calculate how many spaces to add between the two items.
Hope this all makes sense
:sign0085: