1

Android Gallery Size changes w.r.t. to iimages inflated in it.

view story
linux-howto

http://stackoverflow.com – I have a gallery <Gallery android:id="@+id/myGallery" android:layout_width="fill_parent" android:layout_height="wrap_content" android:spacing="10dp" android:layout_marginTop="8dp" /> I am inflating images init but the images are not of same height and width. So when there are consecutive images of less height(landscape) the gallery compress and in reverse case if the consecutive images are of more height (portrait) it enlarges. Because of this the below views are shifting. I cannot set a particular height of gallery. Can we get the max (HowTos)