user3024750 user3024750 - 13 days ago 5
Android Question

Android GridView - one item with full width

Trying to allow 1 item in my GridView (2 columns) to have the full width of 2 items.

Is this possible without using another layout?
Only found solutions involving setting up another layout outside the gridview.

Thanks!

Answer

I can suggest you that you should be using the recyclerview instead of Gridview. And the thing you want from gridView can easily done by following bellow link.

Link is here

Hope this works for you!

Comments