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=0d284493e5b8b0cd051fd029607ecaa0c8e3a7ec;hp=f5cd330e72b28b1ba62f9568cebf09272e536c42;hb=60a85a18cc2074b87721173798497260dbc800e5;hpb=ba9027714e6181ce0f0e927bc8a43742470ef1e3 diff --git a/app/src/main/res/layout/content_new_transaction.xml b/app/src/main/res/layout/content_new_transaction.xml index f5cd330e..0d284493 100644 --- a/app/src/main/res/layout/content_new_transaction.xml +++ b/app/src/main/res/layout/content_new_transaction.xml @@ -6,72 +6,113 @@ android:layout_height="match_parent" app:layout_behavior="@string/appbar_scrolling_view_behavior" tools:context=".NewTransactionActivity" - tools:showIn="@layout/activity_new_transaction"> + tools:showIn="@layout/activity_account_summary"> + 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" /> + - + android:layout_height="match_parent"> - + android:layout_height="match_parent"> - + + + + + - + android:layout_height="match_parent"> + + + + + + +