百度糯米:
高仿效果图:
颜色资源:
<color name="shop_exchange">#BE974C</color>
<color name="view_color">#d3d3d3</color>
<color name="black">#000000</color>
<color name="hint_color">#BAB8B5</color>
<color name="transparent">#00000000</color>
图标资源:
布局文件:
1.include_toolbar.xml
<?xml version="1.0" encoding="utf-8"?>
<android.support.design.widget.AppBarLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:theme="@style/AppTheme.AppBarOverlay">
<android.support.v7.widget.Toolbar
android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
android:background="@drawable/side_nav_bar"
app:popupTheme="@style/AppTheme.PopupOverlay" />
</android.support.design.widget.AppBarLayout>
<