From bee7febafc457836988563b282b31052fc18ee06 Mon Sep 17 00:00:00 2001 From: tarsin Date: Thu, 17 Nov 2022 00:45:38 +0800 Subject: [PATCH] Use compressed toolbar --- app/src/main/res/layout/scene_toolbar.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/main/res/layout/scene_toolbar.xml b/app/src/main/res/layout/scene_toolbar.xml index f99390bae..0be9d1243 100644 --- a/app/src/main/res/layout/scene_toolbar.xml +++ b/app/src/main/res/layout/scene_toolbar.xml @@ -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" />