android - How to put a button on the default keyboard? I want a button that when is pressed, it chance to another activity -


i have edittext in activity. want when user finish text, can move next activity without press button hide keyboard. wondering if there way put button on softkeyboard move next activity.

(sorry bad english, not native language)

you can't add buttons existing keyboard. however, can suggest label , id custom ime action. see textview.setimeactionlabel:

change custom ime action associated text view, reported ime actionlabel , actionid when has focus.

you'll have call textview.setoneditoractionlistener provide custom listener listen ime event can move next activity.


Comments

Popular posts from this blog

plot - Remove Objects from Legend When You Have Also Used Fit, Matlab -

java - Why does my date parsing return a weird date? -

Need help in packaging app using TideSDK on Windows -