How to remove padding from title in toolbar?
<p>My Toolbar</p>

<p><img src="https://i.stack.imgur.com/In9WV.png" alt="My toolbar"></p>

<p>Google Play Toolbar</p>

<p><img src="https://i.stack.imgur.com/pEOJf.png" alt="GooglePlay toolbar"></p>

<p>How can I remove unnecessary padding?</p>

<p>My toolbar is inside the fragment
My code in fragment:</p>

<pre><code>public void setUpToolbar(Toolbar toolbar, String title, @DrawableRes int resId) {
    toolbar.setTitle(title);
    ((AppCompatActivity) getActivity()).setSupportActionBar(toolbar);
    ActionBar ab = ((AppCompatActivity) getActivity()).getSupportActionBar();
    ab.setHomeAsUpIndicator(resId);
    ab.setDisplayHomeAsUpEnabled(true);
}
</code></pre>

<p>My toolbar in xml:</p>

<pre><code>&lt;android.support.v7.widget.Toolbar
            android:id="@+id/toolbar"
            android:layout_width="match_parent"
            android:layout_height="?attr/actionBarSize"
            app:layout_collapseMode="pin"
            app:popupTheme="@style/AppTheme.PopupOverlay" /&gt;
</code></pre>