From 9f56f0283aa2d35b243dc1c09c577860b7eaab14 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. --- Android/app/src/main/res/layout/fragment_library.xml | 8 +++++--- Android/app/src/main/res/layout/monster_list_content.xml | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/Android/app/src/main/res/layout/fragment_library.xml b/Android/app/src/main/res/layout/fragment_library.xml index 328db82..7995387 100644 --- a/Android/app/src/main/res/layout/fragment_library.xml +++ b/Android/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" />