0

I have a lot of images in scrollview, I would like to know how to layout them so they would be seen the same on different resolutions. Like if I rotate screen some images would fill the gap.(All activity is only images)

whiteLT
  • 338
  • 7
  • 21

2 Answers2

1

You can use GridLayout.

Check Heterogeneous GridLayout,GridLayout and Row/Column Span Woe.

It might helpful for you.

Community
  • 1
  • 1
Hardik Joshi
  • 9,477
  • 12
  • 61
  • 113
  • But Grid Layout is for ice screem sandwich, yes? And I need something for lower ones like 2,3,6 – whiteLT Nov 04 '13 at 19:37
1

This issue is behond displaying an image on a gridView but rather about memory limitation and caching(recycling and reusing etc..) Take a look at this link Displaying Bitmaps Efficiently and try to download a sample on the left called BitmapFun.zip

Alan M
  • 616
  • 5
  • 15