From: Damyan Ivanov Date: Wed, 3 Mar 2021 20:46:48 +0000 (+0200) Subject: replace unused coordinator layout with constraint layout X-Git-Tag: v0.17.0~40 X-Git-Url: https://git.ktnx.net/?p=mobile-ledger.git;a=commitdiff_plain;h=babb286b5174b70ea60aff83f8eae4769b30b686 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 --- 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" + /> - +