title: Appcompatv7 - v21 Navigation drawer not showing hamburger icon
body: <p>I am implementing the lollipop style navigation drawer with latest appcompat support library but the problem is the hamburger icon is never displayed . Only back icon is shown.</p>
  
  <p>This is my activity code</p>
  
  <pre><code>import android.os.Bundle;
  import android.support.v4.widget.DrawerLayout;
  import android.support.v7.app.ActionBarActivity;
  import android.support.v7.app.ActionBarDrawerToggle;
  import android.support.v7.widget.Toolbar;
  import android.view.View;
  
  public class Home extends ActionBarActivity {
  
  private DrawerLayout mDrawerLayout;
  private ActionBarDrawerToggle mDrawerToggle;
  
  @Override
  protected void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.activity_home);
      initViews();
  }
  
  
  private void initViews(){
  
      Toolbar toolbar = (Toolbar) findViewById(R.id.toolbar);
      mDrawerLayout = (DrawerLayout) findViewById(R.id.drawer_layout);
  
  
      toolbar.setTitleTextColor(getResources().getColor(android.R.color.white));
      setSupportActionBar(toolbar);
  
      mDrawerToggle = new ActionBarDrawerToggle(this, mDrawerLayout,toolbar ,  R.string.drawer_open, R.string.drawer_close) { 
  
          /** Called when a drawer has settled in a completely closed state. */ 
          public void onDrawerClosed(View view) {
              super.onDrawerClosed(view);
              //getActionBar().setTitle(mTitle);
              //invalidateOptionsMenu(); // creates call to onPrepareOptionsMenu()
          } 
  
          /** Called when a drawer has settled in a completely open state. */ 
          public void onDrawerOpened(View drawerView) {
              super.onDrawerOpened(drawerView);
              //getActionBar().setTitle(mDrawerTitle);
              //invalidateOptionsMenu(); // creates call to onPrepareOptionsMenu()
          } 
      }; 
  
  
      // Set the drawer toggle as the DrawerListener 
      mDrawerLayout.setDrawerListener(mDrawerToggle);
  
      getSupportActionBar().setDisplayHomeAsUpEnabled(true); 
      getSupportActionBar().setHomeButtonEnabled(true); 
  
   }
  }
  </code></pre>
  
  <p>This is my styles file</p>
  
  <pre><code> &lt;resources&gt;
   &lt;!-- Application theme. --&gt;
  &lt;style name="Theme.Test" parent="@style/Theme.AppCompat.Light"&gt;
  
      &lt;!-- customize the color palette --&gt;
      &lt;item name="colorPrimary"&gt;@color/primary&lt;/item&gt;
      &lt;item name="colorPrimaryDark"&gt;@color/primary_dark&lt;/item&gt;
      &lt;item name="colorAccent"&gt;@color/accent&lt;/item&gt;
      &lt;item name="windowActionBar"&gt;false&lt;/item&gt;
      &lt;item name="drawerArrowStyle"&gt;@style/Theme.Test.DrawerArrowStyle&lt;/item&gt;
  &lt;/style&gt;
  
  &lt;style name="Theme.Test.DrawerArrowStyle" parent="@style/Widget.AppCompat.DrawerArrowToggle"&gt;
      &lt;item name="spinBars"&gt;true&lt;/item&gt;
      &lt;item name="color"&gt;@android:color/white&lt;/item&gt;
  &lt;/style&gt;
  </code></pre>
  
  <p></p>
  
  <p>The layout file </p>
  
  <pre><code>&lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  xmlns:app="http://schemas.android.com/apk/res-auto"
  android:layout_width="match_parent"
  android:layout_height="match_parent" &gt;
  
  &lt;android.support.v7.widget.Toolbar
      android:id="@+id/toolbar"
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:background="?attr/colorPrimary"
      android:minHeight="?attr/actionBarSize"
      app:theme="@style/ThemeOverlay.AppCompat.ActionBar" /&gt;
  
  &lt;android.support.v4.widget.DrawerLayout
      android:id="@+id/drawer_layout"
      android:layout_width="match_parent"
      android:layout_height="match_parent" 
      android:layout_below="@+id/toolbar"&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="240dp"
          android:layout_height="match_parent"
          android:layout_gravity="start"
          android:background="#111"
          android:choiceMode="singleChoice"
          android:divider="@android:color/transparent"
          android:dividerHeight="0dp" /&gt;
  &lt;/android.support.v4.widget.DrawerLayout&gt;
  
  &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/LSHu9.png" rel="noreferrer"><img src="https://i.stack.imgur.com/LSHu9.png" alt="Navigation Drawer Showing Back Button"></a></p>
  
  <p><a href="https://i.stack.imgur.com/PpM6x.png" rel="noreferrer"><img src="https://i.stack.imgur.com/PpM6x.png" alt="Navigation Drawer Showing Back Button"></a></p>
  
  <p>In both cases only back arrow is shown , i have read many posts but nothing seems to make a difference . Any help would be appreciated.</p>