X-Git-Url: https://git.ktnx.net/?a=blobdiff_plain;f=app%2Fsrc%2Fmain%2Fres%2Flayout%2Fcontent_new_transaction.xml;h=429d1b081fd9d71c7793be20b050696a0fc99f16;hb=6c0c5ecc16d86998a7968a9797981a3f31bd7ca5;hp=28f393d1dbe002c2b8915dacdeb8e722ad1743d4;hpb=063fe5ea62e41ec419ce5b9c85941aa851b3c0ba;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 28f393d1..429d1b08 100644 --- a/app/src/main/res/layout/content_new_transaction.xml +++ b/app/src/main/res/layout/content_new_transaction.xml @@ -9,29 +9,53 @@ 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:layout_height="match_parent"> + android:nextFocusForward="@id/new_transaction_amt_1" + android:text="This is a sample account name, deliberately long" /> @@ -69,6 +96,7 @@ android:id="@+id/new_transaction_acc_2" android:layout_width="match_parent" android:layout_height="wrap_content" + android:layout_gravity="bottom" android:layout_weight="9" android:width="0dp" android:hint="@string/new_transaction_account_hint" @@ -79,11 +107,12 @@ android:id="@+id/new_transaction_amt_2" android:layout_width="wrap_content" android:layout_height="wrap_content" + android:layout_gravity="bottom" android:layout_weight="1" android:width="0dp" android:hint="@string/new_transaction_amount_hint" android:inputType="numberDecimal|numberSigned" - android:minWidth="24pt" + android:minWidth="40dp" android:textAlignment="viewEnd" />