Can anyone just tell me the structure of XML file? and I don't want to use Table and how can I repeat that layout using for loop.
You should use linear-layout which orientation is horizontal.
Other way, you can use Relative layout.
For separation use Horizontal and Vertical Divider.