X-Git-Url: https://git.ktnx.net/?a=blobdiff_plain;f=app%2Fsrc%2Fmain%2Fres%2Flayout%2Ftemplate_details_header.xml;h=d2167c8c1623f64d7ec87c24886ffbf6bc7a4852;hb=a7822614a0442e0de5e65c3b59a9143efb41961a;hp=58b5535f1101fd8e5caf082ddfabdfd64db5e919;hpb=b953cc391328af937917ed94de6aeafb83cc715c;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 58b5535f..d2167c8c 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" > + + @@ -206,14 +262,15 @@ android:layout_height="wrap_content" android:gravity="center_horizontal" android:hint="@string/date_year_hint" + android:inputType="number" /> @@ -255,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" @@ -268,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" @@ -276,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