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=21b42524f98b5ea199fa55aab3dcb152126268db;hp=2589d33ec131eba13efbac809e4e39aa1c3ffab9;hb=a32a16adfb536c1729f2761e7287a7ca6636d4fd;hpb=2160278e4658bd683ce2ad4cb577846aa5fac1f0 diff --git a/app/src/main/res/layout/content_new_transaction.xml b/app/src/main/res/layout/content_new_transaction.xml index 2589d33e..21b42524 100644 --- a/app/src/main/res/layout/content_new_transaction.xml +++ b/app/src/main/res/layout/content_new_transaction.xml @@ -1,19 +1,34 @@ -. + --> + + @@ -23,40 +38,56 @@ android:layout_height="wrap_content" android:orientation="vertical"> - - - + app:layout_constraintTop_toTopOf="parent" /> + @@ -68,23 +99,37 @@ android:id="@+id/new_transaction_acc_1" android:layout_width="match_parent" android:layout_height="wrap_content" + android:layout_gravity="bottom" android:layout_weight="9" android:width="0dp" + android:accessibilityTraversalAfter="@+id/new_transaction_description" + android:accessibilityTraversalBefore="@+id/new_transaction_amt_1" android:hint="@string/new_transaction_account_hint" - android:nextFocusDown="@id/new_transaction_amt_1" - android:nextFocusForward="@id/new_transaction_amt_1" /> + android:imeOptions="actionNext" + android:nextFocusLeft="@+id/new_transaction_description" + android:nextFocusRight="@+id/new_transaction_amt_1" + android:nextFocusUp="@+id/new_transaction_description" + android:nextFocusDown="@+id/new_transaction_amt_1" + android:nextFocusForward="@+id/new_transaction_amt_1" + android:singleLine="true" /> @@ -96,59 +141,47 @@ 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:accessibilityTraversalAfter="@+id/new_transaction_amt_1" + android:accessibilityTraversalBefore="@+id/new_transaction_amt_2" android:hint="@string/new_transaction_account_hint" - android:nextFocusDown="@id/new_transaction_amt_2" - android:nextFocusForward="@id/new_transaction_amt_2" /> + android:imeOptions="actionNext" + android:nextFocusLeft="@+id/new_transaction_amt_1" + android:nextFocusRight="@+id/new_transaction_amt_2" + android:nextFocusUp="@+id/new_transaction_acc_1" + android:nextFocusDown="@+id/new_transaction_amt_2" + android:nextFocusForward="@+id/new_transaction_amt_2" + android:singleLine="true" /> - - + - + - + + - - - - \ No newline at end of file + \ No newline at end of file