title: Android: Gridview not showing correctly
body: <p>I'm trying to build a screen with a single column grid that is 180px wide and attaches to the right side of the screen. The problem I'm facing is that the background of the gridview paints the whole screen and not just that 180px I specified in the XML (thus blocking my background pic specified in the LinearLayout).</p>
  
  <p>Neither using weight nor gravity solves the problem.</p>
  
  <p>Seems simple enough yet I've been toying with this for hours to no avail. Thanks in advance for your help.</p>
  
  <p>My layout.xml as follows:</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" 
  android:background="@drawable/main_bkgd"&gt;
  &lt;GridView 
      android:layout_height="fill_parent" 
      android:scrollbars="none" 
      android:numColumns="1" 
      android:columnWidth="180px" 
      android:verticalSpacing="6dp" 
      android:layout_width="wrap_content" 
      android:id="@+id/mainmenu_grid" 
      android:gravity="right" 
      android:fadingEdge="vertical" 
      android:layout_gravity="right" 
      android:background="#000000" 
      android:layout_weight=".35"&gt;
  &lt;/GridView&gt;
  &lt;/LinearLayout&gt;
  </code></pre>