In my EditText field from the Designer, I have the "Force Done" property set. The "Done" button is not displayed on the virtual keyboard. Instead, the "Newline" button is displayed. Is there a way using coding to force the "Done" button to be displayed?
' Configures the Send button
' 1 = Enter, 2 = Checkmark, 3 = Magnify, 4 = Mail, 5 = Next, 6 = DONE
Sub SendButton(et As EditText, SendMode As Int)
Dim r As Reflector
r.Target = et
r.RunMethod2("setImeOptions", SendMode, "java.lang.int")
End Sub
' Configures the Send button
' 1 = Enter, 2 = Checkmark, 3 = Magnify, 4 = Mail, 5 = Next, 6 = DONE
Sub SendButton(et As EditText, SendMode As Int)
Dim r As Reflector
r.Target = et
r.RunMethod2("setImeOptions", SendMode, "java.lang.int")
End Sub
' Configures the Send button
' 1 = Enter, 2 = Checkmark, 3 = Magnify, 4 = Mail, 5 = Next, 6 = DONE
Sub SendButton(et As EditText, SendMode As Int)
Dim r As Reflector
r.Target = et
r.RunMethod2("setImeOptions", SendMode, "java.lang.int")
End Sub
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.