title: android: how to remove the back/home button in the action bar
body: <p>I am having difficulties trying to remove the back/home button from the action bar.</p>
  
  <pre><code> getActionBar().setDisplayShowHomeEnabled(false);   //disable back button
   getActionBar().setHomeButtonEnabled(false);
  </code></pre>
  
  <p>In a older android phone, the back button is removed with these two code lines. However with the nexus 4, the back button still appears but is just disabled. Also I am just adding a menu item on the right that behaves like the back/home button replacing the back/home button. What am I missing?</p>