1

Android gridview streachmode="columnWidth", set the item content to fit in the view

view story
linux-howto

http://stackoverflow.com – I have a GridView with the following properties: <GridView xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/PhoneImageGrid" style="@style/PhotoGridLayout" android:layout_width="fill_parent" android:layout_height="fill_parent" android:alwaysDrawnWithCache="true" android:clipChildren="true" android:columnWidth="100dp" android:horizontalSpacing="2dp" android:numColumns="auto_fit" android:padding="4dp" android:scrollbars="none" android:scrollingCache="true" (HowTos)