Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

GridView with dynamic number of columns in each row

Tags:

android

How can I recreate the following view with the help of a GridView.

enter image description here

The number of items in the list is dynamic.

like image 624
Bytecode Avatar asked Jun 27 '12 13:06

Bytecode


1 Answers

I guess that this is not a single GridView but a combination of multiple Layouts. Just make a LinearLayout and decide according to the content, which layout you want to have in a row.

like image 54
WarrenFaith Avatar answered Nov 14 '22 01:11

WarrenFaith