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

Hello!

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?

Thanks.
Attachments
custom_gridview.png
custom_gridview.png (11.59 KiB) Viewed 152 times
reinoslav
Freshman
Freshman
 
Posts: 3
Joined: Wed Jan 19, 2011 5:14 pm

Top

Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: Exabot [Bot], Yahoo [Bot] and 5 guests