Reputation: 933
I was wondering how can I make a gridView like this .As you can see in this image ,it's a very beautiful gridView but I don't know how can I make one .
is this a gridView or something else ?
Upvotes: 0
Views: 555
Reputation: 440
In the custom Adapter implement the following functions to create separate views
@Override
public int getViewTypeCount() {
return 3;
}
@Override
public int getItemViewType(int position) {
return position % 3;
}
Upvotes: 0
Reputation: 7917
For varying columns and rows in a GridView, you can use this library:- https://github.com/felipecsl/AsymmetricGridView
For writing text over images, use custom adapter with layout inflater.
Upvotes: 1