Reputation: 29463
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 working with an AutoCompleteTextView at least. I have tried adding the following line to my xml, but to no avail:
android:imeActionLabel="Done"
I know Im missing something pretty huge, what is it?
Upvotes: 14
Views: 10297
Reputation: 29463
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.
Upvotes: 21