1

Which stretchMode to use in GridView on android

view story
linux-howto

http://stackoverflow.com – Following is my xml code: <?xml version="1.0" encoding="utf-8"?> <GridView xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/gridviewgallery" android:layout_width="fill_parent" android:layout_height="fill_parent" android:columnWidth="@dimen/gridview_column_width" android:numColumns="auto_fit" android:verticalSpacing="0dp" android:horizontalSpacing="0dp" android:stretchMode="columnWidth" android:gravity="center" android:background="#444444" /> When I use android:stretchMode="columnWidth" , it creates a gap betwee (HowTos)