restrict search field to a single line

This commit is contained in:
Helium314 2023-11-19 23:12:19 +01:00
parent f944751737
commit e4bc6996a5

View file

@ -22,6 +22,8 @@
<EditText <EditText
android:id="@+id/search_field" android:id="@+id/search_field"
android:layout_marginHorizontal="6dp" android:layout_marginHorizontal="6dp"
android:inputType="text"
android:maxLines="1"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" /> android:layout_height="wrap_content" />
</LinearLayout> </LinearLayout>