android:animateLayoutChanges="false"
android:orientation="vertical">
- <androidx.appcompat.widget.LinearLayoutCompat
+ <LinearLayout
android:id="@+id/ntr_data"
android:layout_width="match_parent"
android:layout_height="wrap_content">
android:inputType="text"
android:nextFocusLeft="@+id/new_transaction_date"
android:nextFocusUp="@+id/new_transaction_date"
- android:selectAllOnFocus="true"
+ android:selectAllOnFocus="false"
android:singleLine="true"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_weight="30"
app:layout_constraintStart_toEndOf="@+id/new_transaction_date"
app:layout_constraintTop_toTopOf="parent" />
- </androidx.appcompat.widget.LinearLayoutCompat>
+ </LinearLayout>
<LinearLayout
android:id="@+id/ntr_account"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="9"
+ android:width="0dp"
android:hint="@string/new_transaction_account_hint"
- android:inputType="text"
android:imeOptions="actionNext"
- android:singleLine="true"
- android:selectAllOnFocus="true"
- android:width="0dp" />
+ android:inputType="text"
+ android:selectAllOnFocus="false" />
<EditText
android:id="@+id/account_row_acc_amounts"
android:foregroundGravity="bottom"
android:gravity="bottom|end"
android:hint="@string/zero_amount"
+ android:imeOptions="actionNext"
android:inputType="numberSigned|numberDecimal|number"
android:minWidth="70sp"
- android:textAlignment="viewEnd"
android:selectAllOnFocus="true"
- android:imeOptions="actionNext"/>
+ android:textAlignment="viewEnd" />
</LinearLayout>