Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 224
WOLF.L Avatar asked Dec 04 '16 17:12

WOLF.L


1 Answers

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

like image 139
Alexander Perfilyev Avatar answered Sep 28 '22 18:09

Alexander Perfilyev