Use an XML layout fragment for the table cell.
Better formatting for table cells
Using ListView for query results.
Use the table cell layout