android - issue in keyboard show when setimeoption(EditorInfo.IME_ACTION_SEND) triggers -
i using actionsend send message in chat application...it works hides keyboard each time when setimeoptions(editorinfo.ime_action_send) triggers...donno why..any idea? below snippet used in code
if (session.isenterkeypresstosend()) { sendmessage.setimeoptions(editorinfo.ime_action_send); sendmessage.setinputtype(inputtype.type_class_text); } sendmessage.setoneditoractionlistener(new textview.oneditoractionlistener() { @override public boolean oneditoraction(textview textview, int i, keyevent keyevent) { if (i == editorinfo.ime_action_send) { showkeyboard(); return true; } return false; } });
Comments
Post a Comment