title: Changing background color of ListView items on Android
body: <p>How can I change background color of <code>ListView</code> items on a per-item basis. When I use <code>android:backgroundColor</code> in the <code>ListView</code> item layout I can achieve this, however the list selector is no longer visible. I can make the selector visible again by setting <code>drawSelectorOnTop</code> to true but then the selector overlays the whole item.</p>
  
  <p>Any ideas how to change those background colors and keep the selector?</p>
  
  <p>PS I would rather not change the selector itself.</p>
  
  <p>EDIT: Authors of GMail application have managed to achieve exactly this so it's definitely possible.</p>