Last active
March 20, 2018 06:52
-
-
Save li2/2716392f1dfef297d8a8 to your computer and use it in GitHub Desktop.
[移除 Toolbar 左侧空白. Remove left margin from actionbars custom layout.] https://stackoverflow.com/a/32320632/2722270 #tags: android-view
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<android.support.v7.widget.Toolbar | |
xmlns:app="schemas.android.com/apk/res-auto" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:background="@color/primaryColor" | |
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