Three Variations for Image Squares in Android

This Andoird demo app shows how to build a GridView of images in which the images are displayed as squares. The GridView itself fits the screen dimensions. For a complete write-up, see the blog article at blahti.wordpress.com.

Source code for this demo app is attached below. Be sure to do a clean build in Eclipse after you import the project. The project was built with Android 4.0.3 (API  level 15). It runs on API levels 8 and up.

(Note: The best place to download the zip is on this page. Click the download icon below to download. In some browsers (Chrome), if you click the zip file name first, you will find yourself on a page where the download links do not work. )
ċ
ImageSquares-120723.zip
(84k)
Bill Lahti,
Jul 23, 2012, 4:00 AM