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

networking - Vagrant-provisioned VirtualBox VM is not reachable from Ubuntu host -

c# - ASP.NET Core - There is already an object named 'AspNetRoles' in the database -

ruby on rails - ArgumentError: Missing host to link to! Please provide the :host parameter, set default_url_options[:host], or set :only_path to true -