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.
Recommended editorial content
With your consent, external content is loaded here.
By clicking on the button above, you agree that external content may be displayed to you. Personal data may be transmitted to third-party providers in the process. You can find more information about this in our Privacy Policy.