I have a fairly complex (not really) xml layout file. One of the views is a LinearLayout (v1) with two children: an EditText(v2) and another Linear
v1
v2
singleLine is deprecated. Adding an input type (eg: android:inputType="text") also worked for me.
singleLine
android:inputType="text"
Use android:maxLines="1" as singleLine is deprecated
android:maxLines="1"