]> git.ktnx.net Git - mobile-ledger.git/blobdiff - app/src/main/res/layout/template_details_account.xml
visual improvements in template editor
[mobile-ledger.git] / app / src / main / res / layout / template_details_account.xml
index 2bed3700d314ab776ee24a688392bb428ba605d8..a55a4e12106cc94e35087080ac6c4d0128eeccdf 100644 (file)
@@ -29,6 +29,7 @@
         android:gravity="end"
         android:paddingTop="@dimen/text_margin"
         android:text="@string/template_details_account_row_label"
+        android:textAppearance="?attr/textAppearanceListItem"
         app:drawableBottomCompat="@drawable/dashed_border_8dp"
         />
     <TextView
         android:layout_height="wrap_content"
         android:layout_marginHorizontal="@dimen/text_margin"
         android:textAppearance="?attr/textAppearanceListItem"
+        app:endIconMode="clear_text"
         app:layout_constraintEnd_toEndOf="parent"
         app:layout_constraintStart_toStartOf="parent"
         app:layout_constraintTop_toBottomOf="@id/template_details_account_name_source"
-        app:endIconMode="clear_text"
         >
         <com.google.android.material.textfield.MaterialAutoCompleteTextView
-            style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.ExposedDropdownMenu"
             android:id="@+id/template_details_account_name"
+            style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.ExposedDropdownMenu"
             android:layout_width="match_parent"
             android:layout_height="wrap_content"
             android:hint="@string/template_details_account_name_label"
         android:layout_height="wrap_content"
         android:layout_marginHorizontal="@dimen/text_margin"
         android:textAppearance="?attr/textAppearanceListItem"
+        app:endIconMode="clear_text"
         app:layout_constraintEnd_toEndOf="parent"
         app:layout_constraintStart_toStartOf="parent"
         app:layout_constraintTop_toBottomOf="@id/template_details_account_comment_source"
             android:layout_height="wrap_content"
             android:hint="@string/template_details_account_amount_label"
             android:inputType="number|numberDecimal|numberSigned"
+            android:selectAllOnFocus="true"
             />
     </com.google.android.material.textfield.TextInputLayout>