How do I get the done button to appear on the soft keyboard?

后端 未结 2 1288
闹比i
闹比i 2021-02-13 11:10

So, I do not see a done button on the soft-keyboard. There is the standard enter key, but from my reading I am lead to believe that there could be/should be a done button (when

2条回答
  •  我寻月下人不归
    2021-02-13 11:23

    The answer was to include

    android:singleLine="true"
    

    in the xml for the AutoCompleteTextView. This switches the enter key for next if there are multiple edittexts (and done for the last one), or for done if there is only one edittext.

提交回复
热议问题