X-Git-Url: https://git.ktnx.net/?a=blobdiff_plain;f=app%2Fsrc%2Fmain%2Fres%2Flayout%2Fcontent_new_transaction.xml;h=2589d33ec131eba13efbac809e4e39aa1c3ffab9;hb=2160278e4658bd683ce2ad4cb577846aa5fac1f0;hp=f5cd330e72b28b1ba62f9568cebf09272e536c42;hpb=ba9027714e6181ce0f0e927bc8a43742470ef1e3;p=mobile-ledger.git diff --git a/app/src/main/res/layout/content_new_transaction.xml b/app/src/main/res/layout/content_new_transaction.xml index f5cd330e..2589d33e 100644 --- a/app/src/main/res/layout/content_new_transaction.xml +++ b/app/src/main/res/layout/content_new_transaction.xml @@ -9,71 +9,146 @@ tools:showIn="@layout/activity_new_transaction"> + android:layout_height="0dp" + android:layout_marginBottom="8dp" + app:layout_constraintBottom_toTopOf="@+id/constraintLayout" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toTopOf="parent"> - - - + android:layout_height="match_parent"> - + android:ems="10" + android:hint="@string/new_transaction_date_hint" + android:inputType="date" + android:onClick="pickTransactionDate" + android:textAlignment="center" + app:layout_constraintHorizontal_weight="8" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toTopOf="parent" /> - + android:hint="@string/new_transaction_description_hint" + android:inputType="textPersonName" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintHorizontal_weight="30" + app:layout_constraintStart_toEndOf="@+id/new_transaction_date" + app:layout_constraintTop_toTopOf="parent" + android:autofillHints="" /> + - + android:layout_height="match_parent"> - + android:layout_height="match_parent"> - + + + + + - + android:layout_height="match_parent"> + + + + + + + + + + + + + + \ No newline at end of file