You can use android:verticalSpacing and android:horizontalSpacing in GridView tag and provide the spacing as per your requirement.
For example:
<GridView
android:layout_height="wrap_content"
android:id="@+id/gridView1"
android:layout_width="match_parent"
android:numColumns="auto_fit"
android:horizontalSpacing="10dp" // space between two items (horizontal)
android:verticalSpacing="10dp"> // space between two rows (vertical)
</GridView>