• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Displaying A Bunch Of Images At Runtime (Left To Right)

Hello,

I have a rather strange application that has a bunch of images (500+) png images under 1kb each. The data will come in as the file name 0001.png, 0002.png, 0003.png etc. that is unknown in advance so they need to be drawn at runtime.

What control should I use to draw the images from left to right top to bottom. The widths change but the height remains the same for all the images.

Thanks in advance!
 
LinearLayout (verticle) doesnt really work because it is one image per line. The line width will be variable and I basically need it to wrap to the next line if the width is greater then the available screen. Is there an easy way to do this?
 
Back
Top Bottom