From e2735e8cb286c06c07e444ff698224ba232e2b24 Mon Sep 17 00:00:00 2001 From: Marcel Hibbe Date: Fri, 29 Apr 2022 10:52:39 +0200 Subject: [PATCH] improve list view design for shared items Signed-off-by: Marcel Hibbe --- .../main/res/layout/attachment_list_item.xml | 17 +++++++++++++---- app/src/main/res/values/dimens.xml | 3 ++- 2 files changed, 15 insertions(+), 5 deletions(-) diff --git a/app/src/main/res/layout/attachment_list_item.xml b/app/src/main/res/layout/attachment_list_item.xml index 4a2088aaa..7f1d2513f 100644 --- a/app/src/main/res/layout/attachment_list_item.xml +++ b/app/src/main/res/layout/attachment_list_item.xml @@ -43,10 +43,11 @@ @@ -101,7 +108,9 @@ android:id="@+id/file_date" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:layout_marginStart="@dimen/margin_between_elements" + android:layout_marginStart="@dimen/standard_quarter_margin" + android:textColor="@color/textColorMaxContrast" + android:textSize="12sp" tools:text="date"/> diff --git a/app/src/main/res/values/dimens.xml b/app/src/main/res/values/dimens.xml index a37207455..e4dc99eb7 100644 --- a/app/src/main/res/values/dimens.xml +++ b/app/src/main/res/values/dimens.xml @@ -35,7 +35,6 @@ 40dp 30dp 96dp - 40dp 14sp 6dp @@ -71,4 +70,6 @@ 48dp 40dp 2dp + + 50dp