Don't show back button on android toolbar
<p>Hi am developing an android application which has a toolbar and hamburger icon to open drawer. I have written below to implement toolbar.</p>

<p>xml file:</p>

<pre><code>&lt;android.support.v7.widget.Toolbar&gt;

android:id="@+id/toolbar"

android:layout_width="match_parent"

android:layout_height="wrap_content"

android:background="@color/colorPrimary"

android:minHeight="?attr/actionBarSize"&gt;

&lt;/android.support.v7.widget.Toolbar&gt;
</code></pre>

<p>Java file:</p>

<pre><code>Toolbar toolbar = (Toolbar) view.findViewById(R.id.toolbar);
        ((AppCompatActivity)getActivity()).setSupportActionBar(toolbar);
        ((AppCompatActivity)getActivity()).getSupportActionBar().setDisplayHomeAsUpEnabled(true);
        ((AppCompatActivity)getActivity()).getSupportActionBar().setHomeButtonEnabled(true);
</code></pre>

<p>When I click on drawer layout, fragment opens and hamburger button changes to back arrow button. </p>

<p>I don't want this back arrow button. I want that irrespective of which fragment is selected there should always be hamburger icon.</p>