title: listitem states not working using with navigation drawer?
body: <p>I am using Navigation Drawer for my android application.I am using a listview for showing the items in navigation drawer.I want to use Listitem state color for listview, but its not working and not showing different color for different states.My code is:</p>
  
  <p><strong>navigation_drawer.xml</strong></p>
  
  <pre><code>&lt;android.support.v4.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:id="@+id/drawer_layout"
      android:layout_width="match_parent"
      android:layout_height="match_parent" &gt;
  
      &lt;!-- The main content view --&gt;
  
      &lt;FrameLayout
          android:id="@+id/content_frame"
          android:layout_width="match_parent"
          android:layout_height="match_parent" /&gt;
  
      &lt;!-- The navigation drawer --&gt;
  
      &lt;ListView
          android:id="@+id/left_drawer"
          android:layout_width="280dp"
          android:layout_height="match_parent"
          android:layout_gravity="start"
          android:background="@drawable/navigation_item_selector"
          android:cacheColorHint="#00000000"
          android:choiceMode="singleChoice"
          android:divider="@color/side_navigation_list_divider_color"
          android:dividerHeight="1dp" /&gt;
  
  &lt;/android.support.v4.widget.DrawerLayout&gt;
  </code></pre>
  
  <p><strong>navigation_item_selector.xml</strong></p>
  
  <p></p>
  
  <pre><code>    &lt;!-- Even though these two point to the same resource, have two states so the drawable will invalidate itself when coming out of pressed state. --&gt;
      &lt;item android:drawable="@color/gray_back" android:state_pressed="true"/&gt;
      &lt;item android:drawable="@color/red" android:state_activated ="true" android:state_selected="true"/&gt;
      &lt;item android:drawable="@drawable/abs__ab_solid_light_holo"/&gt;
  
  &lt;/selector&gt;
  </code></pre>