<EditText
android:id="@+id/new_transaction_date"
android:layout_width="94dp"
- android:layout_height="wrap_content"
+ android:layout_height="0dp"
+ android:accessibilityTraversalBefore="@+id/new_transaction_description"
android:ems="10"
+ android:foregroundGravity="bottom"
+ android:gravity="bottom"
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_constrainedHeight="true"
+ app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintHorizontal_weight="8"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
android:ems="10"
android:hint="@string/new_transaction_description_hint"
android:imeOptions="actionNext"
- android:inputType="textPersonName"
android:nextFocusLeft="@+id/new_transaction_date"
android:nextFocusRight="@+id/new_transaction_acc_1"
android:nextFocusUp="@+id/new_transaction_date"
android:nextFocusDown="@+id/new_transaction_acc_1"
android:nextFocusForward="@+id/new_transaction_acc_1"
+ android:singleLine="true"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_weight="30"
app:layout_constraintStart_toEndOf="@+id/new_transaction_date"
android:layout_weight="9"
android:width="0dp"
android:accessibilityTraversalAfter="@+id/new_transaction_description"
- android:accessibilityTraversalBefore="@+id/new_transaction_amt_2"
+ android:accessibilityTraversalBefore="@+id/new_transaction_amt_1"
android:hint="@string/new_transaction_account_hint"
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:nextFocusForward="@+id/new_transaction_amt_1"
+ android:singleLine="true" />
<EditText
android:id="@+id/new_transaction_amt_1"
android:layout_gravity="bottom"
android:layout_weight="9"
android:width="0dp"
- android:hint="@string/new_transaction_account_hint"
- android:imeOptions="actionNext"
android:accessibilityTraversalAfter="@+id/new_transaction_amt_1"
android:accessibilityTraversalBefore="@+id/new_transaction_amt_2"
+ android:hint="@string/new_transaction_account_hint"
+ 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:nextFocusForward="@+id/new_transaction_amt_2"
+ android:singleLine="true" />
<EditText
android:id="@+id/new_transaction_amt_2"