Use compressed toolbar

This commit is contained in:
tarsin committed 2022-11-17 00:45:38 +08:00
1 parent f49cc2d498
commit bee7febafc
1 file changed
+2 -1
+2 -1
View File
@@ -29,7 +29,8 @@
android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
app:layout_scrollFlags="scroll|enterAlways" />
app:layout_scrollFlags="scroll|enterAlways|snap"
app:layout_scrollEffect="compress" />
</com.google.android.material.appbar.AppBarLayout>
</androidx.coordinatorlayout.widget.CoordinatorLayout>