
Hendré Louw
- Forum posts: 1
Jun 4, 2018, 11:31:22 AM via Website
Jun 4, 2018 11:31:22 AM via Website
I am using a GridLayout for my ListView items. However my GridView do not fill the entire width on my ListView row. I have tried the following code, but no avail:
grid.setLayoutParams(new ListView.LayoutParams(
ListView.LayoutParams.MATCH_PARENT,
ListView.LayoutParams.WRAP_CONTENT));
Please assist.