2018.8.20
<androidx.appcompat.widget.Toolbar
app:layout_scrollFlags="scroll|enterAlways"
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
android:background="@color/barColor"
android:theme="@style/ThemeOverlay.AppCompat.Light"
android:id="@+id/main_toolbar"/>