title: Android GridView imperfection, how to remove extra white space to the right
body: <p>I have a GridView based calendar. I have the following XML layout with the selector set to null thus <code>android:listSelector="@null"</code> in accordance with advise I have got from this site. Now I am getting a few pixels wide strip to the right of the GridView. Why? I have tried everything I can but to avail. Here is my XML layout:</p>
  
  <pre><code>        &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
              android:layout_width="fill_parent"
              android:layout_height="match_parent"
              android:orientation="vertical" &gt;
  
              &lt;GridView
                  android:id="@+id/calendar"
                  android:layout_width="fill_parent"
                  android:layout_height="match_parent"
                  android:horizontalSpacing="-1px"
                  android:numColumns="7"
                  android:stretchMode="columnWidth" 
                  android:gravity="center"
                  android:verticalSpacing="-1px"
                  android:listSelector="@null" &gt;
  
              &lt;/GridView&gt;
  
          &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>What I get is this picture:</p>
  
  <p><img src="https://i.stack.imgur.com/1IDMV.png" alt="enter image description here"></p>