From 09816ed5b6c8a730b02918ae38cf3c95dde41fca Mon Sep 17 00:00:00 2001 From: arkon Date: Wed, 20 May 2020 22:30:46 -0400 Subject: [PATCH] Refactor history_item.xml to use ConstraintLayout --- app/src/main/res/layout/history_item.xml | 94 ++++++++++++------------ 1 file changed, 48 insertions(+), 46 deletions(-) diff --git a/app/src/main/res/layout/history_item.xml b/app/src/main/res/layout/history_item.xml index cfbbfee13..441aa42b9 100644 --- a/app/src/main/res/layout/history_item.xml +++ b/app/src/main/res/layout/history_item.xml @@ -1,10 +1,11 @@ - @@ -14,55 +15,56 @@ android:layout_width="85dp" android:layout_height="match_parent" android:contentDescription="@string/description_cover" - android:scaleType="centerCrop" /> + android:scaleType="centerCrop" + app:layout_constraintBottom_toBottomOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toTopOf="parent" /> - + - + - +