title: GridView and a central column
body: <p>What I want is a central column using GridView, but everything I try does not work. It always aligns to the left. I have tried messing around with layout_gravity and gravity to no avail. </p>
  
  <p>I have a GridView in a LinearLayout:</p>
  
  <pre><code>&lt;LinearLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:orientation="vertical"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
  &gt;
      &lt;GridView
          android:layout_width="fill_parent"
          android:layout_height="wrap_content"
          android:layout_weight="1.0"
          android:numColumns="1"
          android:columnWidth="100dp"
          android:stretchMode="spacingWidth"
      /&gt;
  &lt;/LinearLayout&gt;
  </code></pre>