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

后端 未结 2 1281
闹比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.

    0 讨论(0)
  • 2021-02-13 11:40

    Have a look at this question:

    • Disable Next button
    0 讨论(0)
提交回复
热议问题