androidandroid-layoutandroid-support-library

Android support toolbar title margin


How can I reduce the spacing between actionbar homeasup button and action bar title?

It used to have a smaller spacing but somehow the spacing has increased. I didn't make any changes in the xml or java code that directly relates to the support toolbar.

I tried many things as pointed out in other similar so questions but nothing helped.


Solution

  • Just use this app:contentInsetLeft or app:contentInsetStartWithNavigation="0dp"