android之Toolbar/Actionbar取消子控件左边留白
1.xml文件里面直接设置
<android.support.v7.widget.Toolbar android:layout_width="match_parent" android:layout_height="?attr/actionBarSize" app:contentInsetStart="0dp"><!--这里是app--> </android.support.v7.widget.Toolbar>
2.styles全局设置
系统Toolbar默认style: