Fix toolbar spacing android
In this tip i show you how you can remove spacing from custom toolbar android To remove left and right side space from toolbar try this <android.support.v7.widget.Toolbar xmlns:android=”http://schemas.android.com/apk/res/android” xmlns:app=”http://schemas.android.com/apk/res-auto” android:id=”@+id/menuToolbar” android:layout_width=”match_parent” android:layout_height=”wrap_content” android:layout_margin=”0dp” android:background=”@color/white” android:contentInsetLeft=”10dp” android:contentInsetRight=”10dp” android:contentInsetStart=”10dp” android:minHeight=”?attr/actionBarSize” android:padding=”0dp” app:contentInsetLeft=”10dp” app:contentInsetRight=”10dp” app:contentInsetStart=”10dp”> /* — Your Stuff —*/ </android.support.v7.widget.Toolbar> Use contentInsetStart to set spacing in your custom […]
Continue Reading