title: Android - I set a custom background for a listView, and the highlight has gone
body: <p>Ok, now this is my SimpleAdapter's getView function:</p>
  
  <pre><code>    @Override
      public View getView(int position, View convertView, ViewGroup parent) {
        View view = super.getView(position, convertView, parent);
  
        view.setBackgroundColor(R.drawable.color1);
  
        return view;
      }
  }
  </code></pre>
  
  <p>And this is my color1.xml file, in res/drawable-lpi folder:</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_pressed="true"
            android:color="#FFFF00FF"/&gt; &lt;!-- pressed --&gt;
  
      &lt;item android:state_selected="true"
            android:color="#FF0000FF"/&gt; &lt;!-- selected --&gt;
  
      &lt;item android:state_focused="true"
            android:color="#FF0000FF"/&gt; &lt;!-- focused --&gt;  
  
      &lt;item android:color="#FFFFFFFF"/&gt; &lt;!-- default --&gt;
  &lt;/selector&gt;
  </code></pre>
  
  <p>Why i still get this?</p>
  
  <p><img src="https://i.stack.imgur.com/k2cuA.png" alt="enter image description here"></p>