This is a very trivial Android project that exemplifies how to use the same code to display either a ListVIew or a GridView depending on the device size.