Skip to content Skip to sidebar Skip to footer

Toolbar Isn't In The Center Of The Appbarlayout

I used this example to build a layout with two NavigationViews: http://v4all123.blogspot.de/2016/03/simple-example-of-navigation-view-on.html It works fine. But also in the demo on

Solution 1:

add

app:contentInsetStart="0dp"

to your toolbar.This will remove the extra padding in the left of the toolbar

Solution 2:

It is already answered here. Please find android:contentInsetLeft="0dp" and android:contentInsetStart="0dp" in following link. This will work for you.

https://stackoverflow.com/a/32320632/4688535

Post a Comment for "Toolbar Isn't In The Center Of The Appbarlayout"