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

Popular posts from this blog

html - How to set bootstrap input responsive width? -

javascript - Highchart x and y axes data from json -

javascript - Get js console.log as python variable in QWebView pyqt -