title: setOnItemClickListener not working with DrawerLayout ListView
body: <p>I am trying to set a left Drawer with ListView. On item click, I want to take some action but OnItemClick() doesnt get called.</p>
  
  <p>Heres my code.</p>
  
  <p>MainActivity.java</p>
  
  <pre><code>protected void onCreate(Bundle savedInstanceState) {
      setContentView(R.layout.activity_main);
      mNewsCategories = getResources().getStringArray(R.array.category_arrays);
      mDrawerLayout = (DrawerLayout) findViewById(R.id.drawer_layout);
      mDrawerList = (ListView) findViewById(R.id.left_drawer);
  
      // Set the adapter for the list view
      mDrawerList.setAdapter(new ArrayAdapter&lt;String&gt;(this, R.layout.drawer_list_item, mNewsCategories));
  
      // Set the list's click listener
      mDrawerList.setOnItemClickListener(new AdapterView.OnItemClickListener() {
          @Override
          public void onItemClick(AdapterView&lt;?&gt; parent, View view, int position, long id) {
              Log.i("POSITION", "onItemClick:"+position);
              mDrawerLayout.closeDrawer(mDrawerList);
          } 
      });
  }
  </code></pre>
  
  <p>activity_main.xml</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"&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="#111" /&gt;
  
      &lt;android.support.v4.view.ViewPager
          android:id="@+id/pager" android:layout_width="match_parent"
          android:layout_height="match_parent" /&gt;
  
  &lt;/android.support.v4.widget.DrawerLayout&gt;
  </code></pre>
  
  <p>drawer_list_item.xml</p>
  
  <pre><code>&lt;TextView xmlns:android="http://schemas.android.com/apk/res/android"
  android:id="@+id/text1"
  android:layout_width="match_parent"
  android:layout_height="wrap_content"
  android:textAppearance="?android:attr/textAppearanceListItemSmall"
  android:gravity="center_vertical"
  android:paddingLeft="16dp"
  android:paddingRight="16dp"
  android:textColor="#fff"
  android:focusable="false"
  android:background="?android:attr/activatedBackgroundIndicator"
  android:minHeight="?android:attr/listPreferredItemHeightSmall"/&gt;
  </code></pre>
  
  <p>P.S. I have looked into <a href="https://stackoverflow.com/questions/5551042/onitemclicklistener-not-working-in-listview-android">OnItemCLickListener not working in listview</a> and nothing seems to be working. I tried every combination.</p>