X-Git-Url: https://git.ktnx.net/?a=blobdiff_plain;f=app%2Fsrc%2Fmain%2Fres%2Flayout%2Fcontent_new_transaction.xml;h=086609d708dcf8b9445ebe20a8efddedad6b3e1f;hb=1865d22b24c7494aa258b9624f7d3c17fc1905c6;hp=7ea277bddb0425755916cde5fecef33f7443e755;hpb=edb190a8c0bd40e63f6c3c2e328cc0391849eade;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 7ea277bd..086609d7 100644 --- a/app/src/main/res/layout/content_new_transaction.xml +++ b/app/src/main/res/layout/content_new_transaction.xml @@ -9,29 +9,65 @@ 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: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" /> @@ -69,21 +119,33 @@ 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" - android:nextFocusDown="@id/new_transaction_amt_2" - android:nextFocusForward="@id/new_transaction_amt_2" /> + android:imeOptions="actionNext" + android:accessibilityTraversalAfter="@+id/new_transaction_amt_1" + android:accessibilityTraversalBefore="@+id/new_transaction_amt_2" + 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" />