Android : Android Toolbar "Padding"

on Saturday, October 25, 2014


enter image description here


I implemented the new android l toolbar but there is this odd border or padding around it, I don't know why it's there and I would like to get rid of it. Here is the code for the toolbar:



<android.support.v7.widget.Toolbar
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="#4432aa"
android:contentInsetStart="0dp"
android:contentInsetLeft="0dp"
app:contentInsetLeft="0dp"
app:contentInsetStart="0dp"
app:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"
app:popupTheme="@style/ThemeOverlay.AppCompat.Light"
/>


Any help would be appreciated.


0 comments:

Post a Comment