Android Toolbar自定义布局,子控件无法占据全屏

解决方法:在 Toolbar 控件中添加app:contentInsetStart="0dp"属性,可将 Toolbar 默认的容器间隙去掉。