setImeActionLabel or setImeOptions not work, i always have caption "DONE" on the return key

353 views Asked by At

I have an EditText and I try to change the caption of the return key show on the virtual keyboard like this :

editText.setSingleLine;
editText.setImeActionLabel("GO", IME_ACTION_GO);
editText.setImeOptions(IME_ACTION_GO);

But strangely i have always the caption "DONE" ?

What did i miss ?

0

There are 0 answers