title: Android ListView : bad gradient divider
body: <p>I have a ListView :<br/></p>
  
  <pre><code>&lt;ListView
      android:id="@+id/mainList"
      android:layout_width="fill_parent" 
      android:layout_height="fill_parent" 
      android:layout_marginLeft="1dip"
      android:layout_marginRight="1dip"
      android:divider="@drawable/list_divider"
      android:dividerHeight="1px"
      android:textAppearance="?android:attr/textAppearanceSmall"
      android:cacheColorHint="#00000000"
  /&gt;
  </code></pre>
  
  <p>and a shape in list_divider.xml<br/></p>
  
  <pre><code>&lt;shape xmlns:android="http://schemas.android.com/apk/res/android"
     android:shape="rectangle"&gt;
     &lt;gradient
        android:startColor="#00000000"
        android:centerColor="#FFFFFFFF"
        android:endColor="#00000000"
        android:angle="0" /&gt;
  &lt;/shape&gt;
  </code></pre>
  
  <p>but instead of having a divider like this : white - gray - black - gray - white<br/>
  I get this :  white - gray - black - gray - white - gray - black - gray - white ???<br/>
  In short the divider is splitted into two similar parts and I need only one.</p>