title: How to implement drawerlayout with custom action bar?
body: <p>If i use default actionbar i can set home button to open and close drawerlayout with this code.</p>
  
  <pre><code>getActionBar().setDisplayHomeAsUpEnabled(true);
  getActionBar().setHomeButtonEnabled(true);
  </code></pre>
  
  <p>And it's work well.</p>
  
  <p>But i dont't want default actionbar i want actionbar with customlayout.</p>
  
  <p>When i use custom actionbar i don't know how to implement home button for open and close drawerlayout.</p>
  
  <p>How to implement drawerlayout with custom action bar?</p>
  
  <p>PS. I use custom actionbar because i want set title text to align center of actionbar, set text and text size to it's.</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>thank you every body i can solve it's by use this.</p>
  
  <pre><code>getActionBar().setCustomView(R.layout.actionbar);
  getActionBar().setDisplayOptions(ActionBar.DISPLAY_SHOW_CUSTOM | ActionBar.DISPLAY_SHOW_HOME | ActionBar.DISPLAY_HOME_AS_UP);
  </code></pre>
  
  <p>it's work well but the home button image change from app logo to app icon.</p>