From 5c0ba882102a231293520a417548d40e3c17533c Mon Sep 17 00:00:00 2001 From: Ammar Githam Date: Sat, 12 Sep 2020 17:17:36 +0900 Subject: [PATCH] Make profile view appbar non elevated, and better scrolling effect --- app/src/main/res/layout/fragment_profile.xml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/src/main/res/layout/fragment_profile.xml b/app/src/main/res/layout/fragment_profile.xml index ecf40c3c..2552fd7f 100644 --- a/app/src/main/res/layout/fragment_profile.xml +++ b/app/src/main/res/layout/fragment_profile.xml @@ -10,12 +10,13 @@ android:id="@+id/appBarLayout" android:layout_width="match_parent" android:layout_height="wrap_content" - android:background="?attr/colorSurface"> + android:background="?attr/colorSurface" + app:elevation="0dp"> + app:layout_scrollFlags="scroll|exitUntilCollapsed">