From 2060cff2490775314cb9a43d4ac56ae723a88258 Mon Sep 17 00:00:00 2001 From: Damyan Ivanov Date: Sat, 13 Feb 2021 17:45:35 +0200 Subject: [PATCH] visual improvements in template editor more air between independent elements, consistent look for sub-section headings, clear icon --- .../res/layout/template_details_account.xml | 7 ++- .../res/layout/template_details_header.xml | 47 +++++++++++++++++-- 2 files changed, 48 insertions(+), 6 deletions(-) diff --git a/app/src/main/res/layout/template_details_account.xml b/app/src/main/res/layout/template_details_account.xml index 2bed3700..a55a4e12 100644 --- a/app/src/main/res/layout/template_details_account.xml +++ b/app/src/main/res/layout/template_details_account.xml @@ -29,6 +29,7 @@ android:gravity="end" android:paddingTop="@dimen/text_margin" android:text="@string/template_details_account_row_label" + android:textAppearance="?attr/textAppearanceListItem" app:drawableBottomCompat="@drawable/dashed_border_8dp" /> diff --git a/app/src/main/res/layout/template_details_header.xml b/app/src/main/res/layout/template_details_header.xml index f610da33..44b80ecb 100644 --- a/app/src/main/res/layout/template_details_header.xml +++ b/app/src/main/res/layout/template_details_header.xml @@ -20,12 +20,15 @@ android:id="@+id/pattern_details_item_head" android:layout_width="match_parent" android:layout_height="wrap_content" - android:paddingHorizontal="@dimen/text_margin" + android:padding="@dimen/text_margin" >