title: navigation drawer layout with include layout
body: <p>i think my problem is actually quite simple, but i can't figure out how to solve it.
  a have a working navigation drawer  with this code:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &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"
      android:padding="5dp" &gt;
  
      &lt;FrameLayout
          android:id="@+id/content_frame"
          android:layout_width="match_parent"
          android:layout_height="match_parent"&gt;
  
          &lt;ListView
              android:id="@+id/category_list_view"
              android:layout_width="match_parent"
              android:layout_height="wrap_content"&gt;
          &lt;/ListView&gt;
  
      &lt;/FrameLayout&gt;
  
      &lt;!-- The navigation drawer --&gt;
      &lt;ListView 
          android:id="@+id/left_drawer"
          android:entries="@array/features"
          android:layout_width="240dp"
          android:layout_height="match_parent"
          android:layout_gravity="left"
          android:choiceMode="singleChoice"
          android:divider="@null"
          android:background="#E0E0E0"
          android:dividerHeight="0dp"
          /&gt;    
  &lt;/android.support.v4.widget.DrawerLayout&gt;
  </code></pre>
  
  <p>but when i  try do  use include  like this:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &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"
      android:padding="5dp" &gt;
  
      &lt;FrameLayout
          android:id="@+id/content_frame"
          android:layout_width="match_parent"
          android:layout_height="match_parent"&gt;
  
          &lt;ListView
              android:id="@+id/category_list_view"
              android:layout_width="match_parent"
              android:layout_height="wrap_content"&gt;
          &lt;/ListView&gt;
  
      &lt;/FrameLayout&gt;
  
      &lt;!-- The navigation drawer --&gt;
      &lt;include layout="@layout/drawer"/&gt;
  
  &lt;/android.support.v4.widget.DrawerLayout&gt;
  </code></pre>
  
  <p>nothing happens when i click on  the items of my list view within my frame layout.</p>
  
  <p>this is the drawer layout i'm trying to  include:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &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"
      android:padding="5dp" &gt;
  
      &lt;!-- The navigation drawer --&gt;
      &lt;ListView 
          android:id="@+id/left_drawer"
          android:entries="@array/features"
          android:layout_width="240dp"
          android:layout_height="match_parent"
          android:layout_gravity="left"
          android:choiceMode="singleChoice"
          android:divider="@null"
          android:background="#E0E0E0"
          android:dividerHeight="0dp"
          /&gt;
  
  &lt;/android.support.v4.widget.DrawerLayout&gt;
  </code></pre>
  
  <p>thanks for helping!</p>