X-Git-Url: https://git.ktnx.net/?a=blobdiff_plain;f=app%2Fsrc%2Fmain%2Fres%2Flayout%2Ftemplate_details_header.xml;h=28409d179f6cfd7c532781e8c88a92de303326c2;hb=HEAD;hp=f610da339b54c6bcb462b0886215b114b127b8fe;hpb=be812016d88006c4a27b7d5398e88cf9ae9c92b0;p=mobile-ledger.git diff --git a/app/src/main/res/layout/template_details_header.xml b/app/src/main/res/layout/template_details_header.xml index f610da33..28409d17 100644 --- a/app/src/main/res/layout/template_details_header.xml +++ b/app/src/main/res/layout/template_details_header.xml @@ -20,15 +20,44 @@ android:id="@+id/pattern_details_item_head" android:layout_width="match_parent" android:layout_height="wrap_content" - android:paddingHorizontal="@dimen/text_margin" + android:animateLayoutChanges="true" + android:padding="@dimen/text_margin" > + + @@ -210,11 +266,11 @@ /> @@ -258,9 +314,10 @@ android:id="@+id/template_transaction_description_source_label" android:layout_width="0dp" android:layout_height="match_parent" - android:paddingTop="@dimen/text_margin" + android:layout_marginTop="@dimen/text_margin" android:text="@string/transaction_description_source_label" android:textAppearance="?attr/textAppearanceListItem" + app:layout_constraintBottom_toTopOf="@+id/template_transaction_description_source" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/barrier_before_description" @@ -271,6 +328,8 @@ android:layout_height="wrap_content" android:minWidth="100dp" android:textAppearance="?attr/textAppearanceListItemSecondary" + android:text="@string/template_details_source_literal" + app:layout_constraintBottom_toTopOf="@+id/transaction_description_layout" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/template_transaction_description_source_label" @@ -279,6 +338,11 @@ android:id="@+id/transaction_description_layout" android:layout_width="match_parent" android:layout_height="wrap_content" + android:layout_marginBottom="@dimen/text_margin" + app:endIconMode="clear_text" + app:layout_constraintBottom_toTopOf="@+id/template_transaction_comment_source_label" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/template_transaction_description_source" > + + + + \ No newline at end of file