Tuesday, 17 March 2015

Android action actionDone button not appearing on soft keyboard

So, I have an EditText field, and I wanted the user to be able to dismiss the keyboard with a 'Done' button on the keyboard. So I added the following to my EditText element in the layout xml:
But this didn't work. No button on keyboard! Eventually I got it working by adding the following as well:

No comments:

Post a Comment

Comments are moderated, so you'll have to wait a little bit before they appear!