From 838c9be704b356617ef290e490dba82ef4802c3f Mon Sep 17 00:00:00 2001 From: Tom Hicks Date: Mon, 24 May 2021 02:07:19 -0700 Subject: [PATCH] Fixes the width of items in the library view. --- app/src/main/res/layout/fragment_library.xml | 8 +++++--- app/src/main/res/layout/monster_list_content.xml | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/app/src/main/res/layout/fragment_library.xml b/app/src/main/res/layout/fragment_library.xml index 328db82..7995387 100644 --- a/app/src/main/res/layout/fragment_library.xml +++ b/app/src/main/res/layout/fragment_library.xml @@ -11,11 +11,13 @@ android:id="@+id/monster_list" android:layout_width="match_parent" android:layout_height="match_parent" - android:layout_marginLeft="16dp" - android:layout_marginRight="16dp" app:layoutManager="LinearLayoutManager" tools:context=".MonsterListFragment" - tools:listitem="@layout/monster_list_content" /> + tools:listitem="@layout/monster_list_content" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintTop_toTopOf="parent" + app:layout_constraintBottom_toBottomOf="parent" />