X-Git-Url: https://git.ktnx.net/?a=blobdiff_plain;f=app%2Fsrc%2Fmain%2Fres%2Flayout%2Ftemplate_details_header.xml;h=28409d179f6cfd7c532781e8c88a92de303326c2;hb=17711f5be59ba892f75e8197d1cfc1868b37b2fc;hp=bc5b851ef5680a0b05192779db5b6118c9bf9066;hpb=d95839304defead7c7d605cab2e612f1227cbfed;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 bc5b851e..28409d17 100644
--- a/app/src/main/res/layout/template_details_header.xml
+++ b/app/src/main/res/layout/template_details_header.xml
@@ -20,21 +20,50 @@
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"
>
+
+
@@ -42,7 +71,10 @@
android:id="@+id/pattern_layout"
android:layout_width="0dp"
android:layout_height="wrap_content"
+ android:layout_marginBottom="@dimen/text_margin"
android:textAppearance="?attr/textAppearanceListItem"
+ app:endIconMode="clear_text"
+ app:layout_constraintBottom_toTopOf="@id/pattern_hint_title"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/pattern_name_layout"
@@ -51,25 +83,50 @@
android:id="@+id/pattern"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:hint="@string/pattern_details_pattern_label"
- android:inputType="text"
+ android:hint="@string/template_details_pattern_label"
+ android:inputType="text|textMultiLine"
/>
+
+
@@ -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