<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical" >
    
    <GridView
        android:id="@+id/gridview"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:scrollbars="none"
        android:verticalSpacing="0dp"
        android:gravity="center"
        android:layout_gravity="center"
        android:layout_marginTop="1dp"
         android:layout_marginBottom="1dp"       
        android:fadingEdge="none"
        android:cacheColorHint="@android:color/transparent"
        />

</LinearLayout>
