I have a EditText which can only contain one character. I would like it so that when I tab on the EditText it opens the keyboard (this bit Ive done) and then the text (if any) is selected. This will allow the user to click another letter and because of the selection it will replace the existing letter. After that one letter is pressed I'd like the keyboard to be closed.
Im trying to work out how to hook onto the tap on the EditText as I assume programatically I can set the letter to be selected. Same thing when I input another letter then I can hook into that click and close the keyboard.
The articles Ive found on the keyboard click say that it only works on hardware keyboard where as I need it to work on the soft keyboard.
Can anyone give me any tips and then I can dig to figure this out a bit more.
Thanks