近日,使用ToolBar的时候发现了个坑
![以下](https://img-blog.csdn.net/20160712134727811)
结果,没有效果对不对(What the f*ck)
如果这样,就OK了
<?xml version="1.0" encoding="utf-8"?>
<android.support.v7.widget.Toolbar xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:toolbar="http://schemas.android.com/apk/res-auto"
android:id="@+id/toolBar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="#00897B"
toolbar:navigationIcon="@drawable/previous"
toolbar:title="hello">
</android.support.v7.widget.Toolbar>