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=d16ce4ebc58d4032659e64e70d201c6c792cdfe4;hpb=3ab99e1679326277d6ba7f8ce28f17a96dfa07aa;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 d16ce4eb..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" > + + + + @@ -182,14 +262,15 @@ android:layout_height="wrap_content" android:gravity="center_horizontal" android:hint="@string/date_year_hint" + android:inputType="number" /> @@ -231,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" @@ -244,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" @@ -252,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