Setting EditText imeOptions to actionNext has no effect

前端 未结 12 991
终归单人心
终归单人心 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:15

    Only this worked for me.

    Change it:

    android:maxLines="1"
    android:inputType="text"
    android:imeOptions="actionNext"
    

    on that:

    android:singleLine="true"
    android:inputType="text"
    android:imeOptions="actionNext"
    

提交回复
热议问题