X-Git-Url: https://git.ktnx.net/?a=blobdiff_plain;f=app%2Fsrc%2Fmain%2Fres%2Flayout%2Fcontent_new_transaction.xml;h=de29030b2934a9f610c28eca6923bf01cc98c1b0;hb=f6c803b3c43e2601b3c5ed7f6b6a0e630a71cf6b;hp=0d284493e5b8b0cd051fd029607ecaa0c8e3a7ec;hpb=60a85a18cc2074b87721173798497260dbc800e5;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 0d284493..de29030b 100644 --- a/app/src/main/res/layout/content_new_transaction.xml +++ b/app/src/main/res/layout/content_new_transaction.xml @@ -6,7 +6,7 @@ android:layout_height="match_parent" app:layout_behavior="@string/appbar_scrolling_view_behavior" tools:context=".NewTransactionActivity" - tools:showIn="@layout/activity_account_summary"> + tools:showIn="@layout/activity_new_transaction"> - + 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" /> @@ -94,21 +124,34 @@ 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" />