X-Git-Url: https://git.ktnx.net/?p=mobile-ledger.git;a=blobdiff_plain;f=app%2Fsrc%2Fmain%2Fres%2Flayout%2Fcontent_new_transaction.xml;h=89e3c2cecca001d3ce9e22e79a57dea8c7d0afbd;hp=58ce717035c3badf47941b2c256c6f8a419e01e6;hb=89e0fa95e3fca65277711a762f0643c974481e0a;hpb=b3fff85cf8314bb335eab4e9e9aa0fa9681ad12b diff --git a/app/src/main/res/layout/content_new_transaction.xml b/app/src/main/res/layout/content_new_transaction.xml index 58ce7170..89e3c2ce 100644 --- a/app/src/main/res/layout/content_new_transaction.xml +++ b/app/src/main/res/layout/content_new_transaction.xml @@ -9,47 +9,111 @@ tools:showIn="@layout/activity_new_transaction"> + android:layout_height="0dp" + 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" /> + + + + + + + + + + + + + + + + + + +