title: StateListDrawable in ListView strangely off-colored in certain conditions
body: <p>I have created a ListView with TextViews as items - most of which have a certain color as background, but some have a custom @drawable/shape as background (i.e. the top and bottom items, which have rounded corners).
  These backgrounds are set as part of state-lists, to provide another background color when the items are tapped.
  The listSelector of the ListView is set to transparent, and instead the contained TextViews in the items are set to clickable.</p>
  
  <p>ListView:</p>
  
  <pre><code>&lt;ListView android:id="@+id/allreminders_list" android:layout_width="fill_parent" 
  android:layout_height="fill_parent"
  android:dividerHeight="3px" android:cacheColorHint="#00000000"
  android:divider="@color/trans" android:background="@drawable/reminderlist_background"
  android:listSelector="@android:color/transparent"/&gt;
  </code></pre>
  
  <p>ListView entry:</p>
  
  <pre><code>&lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  android:layout_width="fill_parent" android:layout_height="?android:attr/listPreferredItemHeight"
  android:id="@+id/entry_container"&gt;
  &lt;TextView android:id="@+id/remindername" android:layout_width="fill_parent"
  android:layout_height="fill_parent" android:text="dummy"
  android:padding="15dp" android:layout_marginLeft="15px"
  android:layout_marginRight="15px" style="@style/ReminderEntry"
  android:clickable="true"/&gt;
  &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p>Programmatical setting of ListView entry background:</p>
  
  <pre><code>if (position == 1)
  textViewReminderName
    .setBackgroundResource(R.drawable.reminder_entry_state_top);
  else if (position == remindersInSection)
  textViewReminderName
    .setBackgroundResource(R.drawable.reminder_entry_state_bottom);
  else
  textViewReminderName
    .setBackgroundResource(R.drawable.reminder_entry_state);
  </code></pre>
  
  <p>State-list for top items (R.drawable.reminder_entry_state_top):</p>
  
  <pre><code>&lt;selector xmlns:android="http://schemas.android.com/apk/res/android"&gt;
  &lt;item android:state_pressed="true" android:drawable="@drawable/rounded_top_corners_selected" /&gt;
  &lt;item android:state_selected="true" android:drawable="@drawable/rounded_top_corners_selected" /&gt;
  &lt;item android:drawable="@drawable/rounded_top_corners" /&gt;
  </code></pre>
  
  <p></p>
  
  <p>Shape for unselected top items (@drawable/rounded_top_corners):</p>
  
  <pre><code>&lt;shape xmlns:android="http://schemas.android.com/apk/res/android"&gt; 
  &lt;solid android:color="@color/entry_background"/&gt;    
  &lt;corners android:bottomRightRadius="0dp" android:bottomLeftRadius="0dp" 
   android:topLeftRadius="5dp" android:topRightRadius="5dp"/&gt; 
  &lt;/shape&gt;
  </code></pre>
  
  <p>This stuff works, functionally. BUT, the top and bottom items (which have the shape-drawable as background, which is shown above) change their color slightly under certain conditions:</p>
  
  <ul>
  <li>After scrolling down the list without tap-stopping the scroll</li>
  <li>After clicking any item in the list</li>
  </ul>
  
  <p>The correct color of those items is only shown when I scroll the list without removing the finger before scrolling has ended.</p>
  
  <p>What can this possibly be? A bug in the way StateListDrawables present drawable shapes?</p>