From 8a6bcb2cad180f88b123328e0999833b42f47e6e Mon Sep 17 00:00:00 2001 From: Damyan Ivanov Date: Mon, 25 Nov 2019 23:11:47 +0200 Subject: [PATCH] NT: do not select all text in description and account name we have the [X] to clear the input if needed and auto-select-all on large inputs is visually disturbing --- app/src/main/res/layout/new_transaction_row.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/res/layout/new_transaction_row.xml b/app/src/main/res/layout/new_transaction_row.xml index ad180a59..fcc18a38 100644 --- a/app/src/main/res/layout/new_transaction_row.xml +++ b/app/src/main/res/layout/new_transaction_row.xml @@ -66,7 +66,7 @@ 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" @@ -88,10 +88,10 @@ android:layout_height="wrap_content" android:layout_weight="9" android:hint="@string/new_transaction_account_hint" + android:selectAllOnFocus="false" android:inputType="text" android:imeOptions="actionNext" android:singleLine="true" - android:selectAllOnFocus="true" android:width="0dp" />