Skip to content

Instantly share code, notes, and snippets.

@Eklett
Last active July 24, 2017 08:33
Show Gist options
  • Save Eklett/fd230a27b15a5c6cd2f3e29c08e2c7b7 to your computer and use it in GitHub Desktop.
Save Eklett/fd230a27b15a5c6cd2f3e29c08e2c7b7 to your computer and use it in GitHub Desktop.
toolbar remove child view left margin
<android.support.v7.widget.Toolbar
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:fitsSystemWindows="true"
android:layout_height="?attr/actionBarSize"
style="@style/ToolbarStyle"
android:contentInsetLeft="0dp"
android:contentInsetStart="0dp"
app:contentInsetLeft="0dp"
app:contentInsetStart="0dp"
android:contentInsetRight="0dp"
android:contentInsetEnd="0dp"
app:contentInsetRight="0dp"
app:contentInsetEnd="0dp"
/>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment