title: How can I set selector for my ListView?
body: <p>I have following problem: my application has layout with white background and ListView. If I need to scroll this ListView then it changes color for black! I have just made selector the for ListView, but it doesn't work while. My ListView:</p>
  
  <pre><code>        &lt;ListView
              android:id="@+id/listViewLastUpdates"
              android:listSelector="@drawable/selector"
              android:layout_width="match_parent"
              android:layout_height="wrap_content" &gt;
          &lt;/ListView&gt;
  </code></pre>
  
  <p>My selector:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;selector xmlns:android="http://schemas.android.com/apk/res/android"&gt;
      &lt;item android:state_focused="true" android:drawable="@color/green" /&gt; &lt;!-- focused --&gt;
      &lt;item android:state_focused="true" android:state_pressed="true" android:drawable="@color/green" /&gt; &lt;!-- focused and pressed--&gt;
      &lt;item android:state_pressed="true" android:drawable="@color/green" /&gt; &lt;!-- pressed --&gt;
      &lt;item android:drawable="@color/white" /&gt; &lt;!-- default --&gt;
  &lt;/selector&gt; 
  </code></pre>
  
  <p>I need to user green color as highlight and white color as background (then if I scroll ListView it won't change a color). Please, tell me, how should I fix it?</p>