]> git.ktnx.net Git - mobile-ledger.git/blobdiff - app/src/main/res/layout/new_transaction_row.xml
NT: do not select all text in description and account name
[mobile-ledger.git] / app / src / main / res / layout / new_transaction_row.xml
index da1d70cafd1a87b3689dbe9dc8534c6c9ccbaa5a..fcc18a3808ca9b1d494fd9a02dc27b5fc4310b82 100644 (file)
@@ -23,7 +23,7 @@
     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_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" />
 
         <EditText