Fixes the width of items in the library view.

This commit is contained in:
2021-05-24 02:07:19 -07:00
parent 29923315ae
commit 838c9be704
2 changed files with 6 additions and 4 deletions

View File

@@ -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" />
<com.google.android.material.floatingactionbutton.FloatingActionButton
android:id="@+id/fab"

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">