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=0cbfc203638fc3906b5111313eee2ef35c990c71;hp=2589d33ec131eba13efbac809e4e39aa1c3ffab9;hb=d2fba190c9c1b6eabfa12d65ac47c1c0a9a0a901;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..0cbfc203 100644
--- a/app/src/main/res/layout/content_new_transaction.xml
+++ b/app/src/main/res/layout/content_new_transaction.xml
@@ -12,8 +12,6 @@
android:id="@+id/transaction_details"
android:layout_width="match_parent"
android:layout_height="0dp"
- android:layout_marginBottom="8dp"
- app:layout_constraintBottom_toTopOf="@+id/constraintLayout"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent">
@@ -33,26 +31,37 @@
android:layout_height="wrap_content"
android:ems="10"
android:hint="@string/new_transaction_date_hint"
+ android:imeOptions="actionNext"
android:inputType="date"
+ android:accessibilityTraversalBefore="@+id/new_transaction_description"
+ android:nextFocusDown="@+id/new_transaction_acc_1"
+ android:nextFocusForward="@+id/new_transaction_description"
android:onClick="pickTransactionDate"
android:textAlignment="center"
app:layout_constraintHorizontal_weight="8"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
-
+ app:layout_constraintTop_toTopOf="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" />
@@ -96,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" />
@@ -119,36 +154,4 @@
-
-
-
-
-
-
-
\ No newline at end of file