As part of the android app I’ve been asked to write, there is a ‘contact us’ activity. This activity is supposed to have the company logo at the top, then various contact points (accounts payable, HR, etc) on the left (one on each ‘line’) with the corresponding number aligned on the right.
I’ve spent quite a few hours on attempting to use different layouts and placing them in the XML but it looks terrible.
What approach is best to solve this? It needs to look reasonable on both phones and tablets.
TIA
See Table Layout. From the way you’re describing your problem,
Table Layoutseems to be an apt solution. You can even design your layout with Relative Layout as the base. However, you might have to use attributes such asandroid:layout_alignParentLeft="true",android:layout_alignParentRight="true"and others.