How to make table list inside the Listview?

2.8k Views Asked by At

I need a table of values inside the listview as a list item. My requirement is like the below image. Please any one explain me how to achieve that. Is it possible to add table layout inside the listview or we can use Listview as a list item of parent listview enter image description here

All the values from json. No hard code vales

2

There are 2 best solutions below

0
On BEST ANSWER

Sorry for being late. I found here searching for a solution for the same problem. Finally I found a nice tutorial.

This blog

The key is that you should use "fill_parent" for the LinearLayout of row.xml and using singleline="true", width="0dp" with weight.

Hope it helped you or forecoming users.

1
On

Load the nested list as HTML into TextView