unformatted search text field for depicts and categories search field of upload wizard (#4724)

* unformatted search text field for depicts and categories search field of upload wizard

* fix tests by declaring search text field of type PasteSensitiveTextInputEditText
This commit is contained in:
KhyatiSaini 2021-12-17 16:32:58 +05:30 committed by GitHub
parent d834ce3e7e
commit d38c3f1427
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 16 additions and 13 deletions

View file

@ -3,6 +3,7 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_marginBottom="8dp"
android:orientation="vertical"
tools:showIn="@layout/activity_upload">
@ -81,13 +82,14 @@
android:layout_marginTop="@dimen/standard_gap"
android:layout_height="wrap_content">
<com.google.android.material.textfield.TextInputEditText
<fr.free.nrw.commons.ui.PasteSensitiveTextInputEditText
android:id="@+id/depicts_search"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:imeOptions="actionSearch"
android:inputType="text"
android:maxLines="1" />
android:maxLines="1"
app:allowFormatting="false" />
</com.google.android.material.textfield.TextInputLayout>
<ProgressBar