How do you turn off the automatic closing of the Android virtual keyboard?



  • There's a webView, there's a toolbar. How do you do that when you press the toolbar-a virtual keyboard, it doesn't close automatically, but it's better if it doesn't close? The keyboard is hiding at exactly the time I challenge the function of javascript from the webview.

    case R.id.italic_text:
        mWebMessageCreater.loadUrl("javascript:italicText()");
    break;
    

    How do you not let the keyboard close?



  • The clave should close when the focus is lost, the element of the marking that caused it. I think maybe hang a listener to change focus. WebView and show him the keyboard again. It might be "migation," but it's possible to change that behavior without the adjudication colts, because the removal of the key at the loss of the trick must be furiously into the system.


Log in to reply
 

Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2