]> git.ktnx.net Git - mobile-ledger.git/commitdiff
multi-line pattern and test text input fields
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Fri, 5 Mar 2021 21:57:01 +0000 (23:57 +0200)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Fri, 5 Mar 2021 21:57:01 +0000 (23:57 +0200)
these can get rather long and scrolling is annoying

app/src/main/res/layout/template_details_header.xml

index 43514d04f812c2a6f7da86eb05685dc886927d19..2a2f4f43a9164eec5909faa45a3f384f7648ec89 100644 (file)
@@ -59,7 +59,7 @@
             android:layout_width="match_parent"
             android:layout_height="wrap_content"
             android:hint="@string/template_details_pattern_label"
             android:layout_width="match_parent"
             android:layout_height="wrap_content"
             android:hint="@string/template_details_pattern_label"
-            android:inputType="text"
+            android:inputType="text|textMultiLine"
             />
     </com.google.android.material.textfield.TextInputLayout>
     <TextView
             />
     </com.google.android.material.textfield.TextInputLayout>
     <TextView
             android:layout_width="match_parent"
             android:layout_height="wrap_content"
             android:hint="@string/template_details_test_text_label"
             android:layout_width="match_parent"
             android:layout_height="wrap_content"
             android:hint="@string/template_details_test_text_label"
-            android:inputType="text"
+            android:inputType="text|textMultiLine"
             />
     </com.google.android.material.textfield.TextInputLayout>
     <ImageButton
             />
     </com.google.android.material.textfield.TextInputLayout>
     <ImageButton