]> git.ktnx.net Git - mobile-ledger.git/blobdiff - app/src/main/res/layout/profile_detail.xml
add contentDescription for the color picker button in the profile editor
[mobile-ledger.git] / app / src / main / res / layout / profile_detail.xml
index 6b55c2830af39c7343ccfe309b7e16c0bc686a5a..b12d306a814352c140d5c868222f05460b5e052a 100644 (file)
@@ -16,7 +16,6 @@
   -->
 
 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
-    xmlns:app="http://schemas.android.com/apk/res-auto"
     xmlns:tools="http://schemas.android.com/tools"
     android:id="@+id/profile_detail"
     style="?android:attr/textAppearanceLarge"
@@ -61,6 +60,7 @@
     <LinearLayout
         android:layout_width="match_parent"
         android:layout_height="wrap_content"
+        android:animateLayoutChanges="true"
         android:orientation="vertical">
 
         <Switch
 
         </LinearLayout>
 
+        <com.google.android.material.textfield.TextInputLayout
+            android:id="@+id/preferred_accounts_accounts_filter_layout"
+            android:layout_width="match_parent"
+            android:layout_height="wrap_content"
+            android:layout_marginBottom="16dp"
+            android:orientation="vertical">
+
+            <com.google.android.material.textfield.TextInputEditText
+                android:id="@+id/preferred_accounts_filter_filter"
+                android:layout_width="match_parent"
+                android:layout_height="wrap_content"
+                android:ems="10"
+                android:fontFamily="monospace"
+                android:hint="@string/pref_preferred_autocompletion_account_filter_hint"
+                android:inputType="text" />
+        </com.google.android.material.textfield.TextInputLayout>
+
         <LinearLayout
             android:layout_width="match_parent"
             android:layout_height="match_parent"
                 android:layout_height="@dimen/thumb_row_height"
                 android:layout_weight="1"
                 android:background="?colorPrimary"
+                android:contentDescription="@string/btn_color_picker_button"
                 android:src="@drawable/ic_palette_black_24dp"
                 android:tint="?drawer_background" />