From babb286b5174b70ea60aff83f8eae4769b30b686 Mon Sep 17 00:00:00 2001 From: Damyan Ivanov Date: Wed, 3 Mar 2021 22:46:48 +0200 Subject: [PATCH] replace unused coordinator layout with constraint layout removing the nested scroll view also makes the behaviour of the FAB not depend on the number of items in the recycle view --- .../main/res/layout/activity_templates.xml | 32 +++++++++---------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/app/src/main/res/layout/activity_templates.xml b/app/src/main/res/layout/activity_templates.xml index 82715229..cd2b4098 100644 --- a/app/src/main/res/layout/activity_templates.xml +++ b/app/src/main/res/layout/activity_templates.xml @@ -15,7 +15,7 @@ ~ along with MoLe. If not, see . --> - - - - + android:layout_height="0dp" + app:defaultNavHost="true" + app:layout_constraintBottom_toBottomOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toBottomOf="@id/appbar" + app:navGraph="@navigation/template_list_navigation" + /> - + -- 2.39.2