title: Custom item selector drawn over complete GridView
body: <p>in my project I have several GridViews. The default item selector is device dependent, on my Acer tablet its yellow, on my Motorola phone its blue.</p>
  
  <p>I want it to be gray for all devices.</p>
  
  <p>So I googled and SOed around and found that I have to put a <code>android:listSelector</code> attribute to my GridView:</p>
  
  <pre><code>&lt;GridView
      android:padding="5dip"
      android:id="@+id/labeled_gridview_gridview"
      android:layout_width="fill_parent"
      android:layout_height="0dip"
      android:layout_weight="1"
      android:columnWidth="125dp"
      android:stretchMode="columnWidth"
      android:gravity="center"
      android:listSelector="@drawable/list_selector"
      android:numColumns="auto_fit" &gt;
  &lt;/GridView&gt;
  </code></pre>
  
  <p>Where <code>list_selector.xml</code> is:</p>
  
  <pre><code>&lt;selector xmlns:android="http://schemas.android.com/apk/res/android"
       android:id="@+id/selector_item"&gt;
      &lt;item
          android:state_pressed="true"
          android:drawable="@android:color/black"&gt;
      &lt;/item&gt;
  
      &lt;item
          android:state_enabled="true"
          android:state_focused="true"
          android:drawable="@android:color/white"&gt;
      &lt;/item&gt;
  
      &lt;item android:state_enabled="true"
          android:drawable="@android:color/white"&gt;
      &lt;/item&gt;
  &lt;/selector&gt; 
  </code></pre>
  
  <p>My problem is now: When I click on a GridView item the <strong>whole GridView background becomes black</strong>. Which is not what I want. I tried putting the <code>android:listSelector</code> attribute to the GridView item layout, but it didn't do anything.</p>
  
  <p>Is my selector wrong? Or my GridView? Help me plz! </p>