title: Android DrawerLayout background selection on ListView
body: <p>I've developped an app with a DrawerLayout.</p>
  
  <p>My problem is with the <code>ListView</code>, when I click on an item his <code>textColor</code> becomes white, but background still transparent and the <code>ListView</code> background is white. So selected text is unreadable.</p>
  
  <p>I searched solutions, and tried many of them but no one is working. I just want to change background color in <code>#FFCCCCCC</code> for example when an item is selected.</p>
  
  <p>Do you have any idea ?</p>
  
  <p><strong>Drawer layout</strong>
      </p>
  
  <pre><code>    &lt;!-- The main content view --&gt;
      &lt;FrameLayout
          android:id="@+id/content_frame"
          android:layout_width="match_parent"
          android:layout_height="match_parent"
          android:background="#FFDDDDDD"/&gt;
  
      &lt;!-- The navigation drawer --&gt;
      &lt;ListView android:id="@+id/left_drawer"
          android:layout_width="240dp"
          android:layout_height="match_parent"
          android:layout_gravity="start"
          android:choiceMode="singleChoice"
          android:divider="@android:color/transparent"
          android:dividerHeight="0dp"
          android:background="#FFF"/&gt;
  
  &lt;/android.support.v4.widget.DrawerLayout&gt;
  </code></pre>
  
  <p><strong>Navigation list</strong></p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:orientation="horizontal" &gt;
  
      &lt;ImageView
          android:id="@+id/image"
          android:layout_width="25dp"
          android:layout_height="25dp"
          android:layout_margin="15dp" /&gt;
  
      &lt;TextView 
          android:id="@+id/name"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:textSize="18sp"
          android:layout_gravity="center_vertical"/&gt;
  
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>If you have any solution...
  Thanks :)</p>
  
  <p><strong>Edit :</strong></p>
  
  <p><img src="https://i.stack.imgur.com/pcAkh.png" alt="Screenshot"></p>