Custom Gridview with different items

Put problem concerning Views, Layouts and other XML-Resources (like AndroidManifest) here.

Custom Gridview with different items

Postby reinoslav » Wed Sep 19, 2012 7:21 am


I have some design requirements, which force me to implement a layout as attached. It looks like a gridview, but the items are not uniform, but have different sizes.

Actually I implemented it as a big ScrollView, but I ran into really serious memory issues, because every item in my custom "gridview" is an imageview with a bitmap.

Any suggestions? I want to use something like a GridView, so that I can recycle the Views. Maybe I should override the Gridview class or should I implements my own GridView by extending the AbsListView?

custom_gridview.png (11.59 KiB) Viewed 228 times
Posts: 3
Joined: Wed Jan 19, 2011 5:14 pm


Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: No registered users and 3 guests