I am using Table Layout to display data as shown below.
What i want to do
Since a TableRow is pretty much a horizontally oriented LinearLayout
, simply use the principles of weights to make the TextView
fill up all the space after the ImageView
. It means you'd have to change the rows to somewhat like this:
I've also removed/changed some superfluous attributes. Do mind that I just typed this directly in the browser - there may be the odd typo or tweak required.