X-Git-Url: https://git.ktnx.net/?a=blobdiff_plain;f=app%2Fsrc%2Fmain%2Fres%2Flayout%2Ftemplate_details_header.xml;h=43514d04f812c2a6f7da86eb05685dc886927d19;hb=e28b8296d155c404cc5a702b3b477c41915d73dc;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..43514d04 100644 --- a/app/src/main/res/layout/template_details_header.xml +++ b/app/src/main/res/layout/template_details_header.xml @@ -20,12 +20,16 @@ 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 +46,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,24 +58,49 @@ android:id="@+id/pattern" android:layout_width="match_parent" android:layout_height="wrap_content" - android:hint="@string/pattern_details_pattern_label" + android:hint="@string/template_details_pattern_label" android:inputType="text" /> + + @@ -90,23 +122,31 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:gravity="end" - android:paddingTop="@dimen/text_margin" - android:text="@string/pattern_transaction_parameters_label" + android:text="@string/template_transaction_parameters_label" + android:textAppearance="?attr/textAppearanceListItem" + app:layout_constraintBottom_toTopOf="@+id/pattern_transaction_date_label" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/test_text_layout" /> + + + + \ No newline at end of file