use grid view like this so it will fit automatically according to the screen size
<GridView
android:id="@+id/grid_view"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:columnWidth="90dp"
android:gravity="center"
android:layout_marginLeft="5dp"
android:layout_marginRight="5dp"
android:horizontalSpacing="10dp"
android:numColumns="auto_fit"
android:stretchMode="columnWidth"
android:scrollingCache="false"
android:animationCache="false"
android:fastScrollEnabled="true"
android:verticalSpacing="10dp" />