Setting EditText imeOptions to actionNext has no effect

前端 未结 12 1055
终归单人心
终归单人心 2020-12-13 11:46

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

12条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-13 12:34

    singleLine is deprecated. Adding an input type (eg: android:inputType="text") also worked for me.

    Use android:maxLines="1" as singleLine is deprecated

提交回复
热议问题