From bc5cbe9fba72a47f9c27c2683c54d8904fa0e70b Mon Sep 17 00:00:00 2001 From: Viktor De Pasquale Date: Fri, 8 Nov 2019 19:19:19 +0100 Subject: [PATCH] Updated module item design to follow suit with the rest of the app --- app/src/main/res/layout/item_module_md2.xml | 38 ++++++++++++++------- 1 file changed, 26 insertions(+), 12 deletions(-) diff --git a/app/src/main/res/layout/item_module_md2.xml b/app/src/main/res/layout/item_module_md2.xml index 6463a6c6c..535a1bda6 100644 --- a/app/src/main/res/layout/item_module_md2.xml +++ b/app/src/main/res/layout/item_module_md2.xml @@ -32,8 +32,7 @@ + android:layout_height="wrap_content"> @@ -66,14 +66,16 @@ android:layout_width="0dp" android:layout_height="wrap_content" android:layout_marginStart="@dimen/l1" + android:layout_marginEnd="@dimen/l1" android:text="@{@string/module_version_author(item.item.version, item.item.author)}" android:textAppearance="?appearanceTextCaptionVariant" - app:layout_constraintEnd_toStartOf="@+id/module_remove" + app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toEndOf="@+id/module_state_icon" app:layout_constraintTop_toBottomOf="@+id/module_title" tools:text="v1 by topjohnwu" /> - + + + app:layout_constraintTop_toBottomOf="@+id/module_divider" + tools:icon="@drawable/ic_delete_md2" + tools:text="Remove" />