title: Padding of grid in GridView
body: <p>I have some problems with my grid layout.</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;LinearLayout
       xmlns:android="http://schemas.android.com/apk/res/android"
       android:layout_width="match_parent"
       android:layout_height="match_parent"
       android:id="@+id/frag_books_grid_view_layout"
       android:orientation="vertical"&gt;
          &lt;GridView
              android:padding="0dp"
              android:cacheColorHint="@color/bg_default"
              android:listSelector="@drawable/list_selector_background"
              android:id="@+id/frag_books_grid_view"
              android:layout_width="match_parent"
              android:layout_height="match_parent"
              android:stretchMode="spacingWidth"
              android:scrollbars="none"/&gt;
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>Single item:</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:orientation="horizontal" 
      android:layout_width="match_parent"
      android:layout_height="wrap_content"&gt;
      &lt;ListView
          android:cacheColorHint="@color/bg_default"
          android:scrollbars="none"
          android:listSelector="@drawable/list_selector_background"
          android:layout_gravity="center_vertical|left"
          android:gravity="center_vertical|left"
          android:paddingLeft="15dp"
          android:paddingRight="15dp" 
          android:id="@+id/frag_book_list_view"
          android:layout_width="match_parent"
          android:layout_height="match_parent"
          android:verticalSpacing="5dp"/&gt;
  &lt;/LinearLayout&gt;    
  </code></pre>
  
  <p>Problem is that there is no left and right padding of single item. And it looks terrible when item is selected: <a href="http://i.imgur.com/rirNP.png" rel="nofollow">http://i.imgur.com/rirNP.png</a></p>
  
  <p>Please, help to fix it.</p>