I have a Webview and I load on it an url. This url has a form but I don´t want to show the Android´s keyboard when the user clicks to fill the form. I have tried this:
In the activity:
getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_HIDDEN);
In the manifest:
 android:windowSoftInputMode="stateHidden"
In the layout:
android:descendantFocusability="blocksDescendants"
and on webview´s properties:
android:focusable="false" 
android:focusableInTouchMode="true"
Nothing works for me, is there a solution? Thanks
My code is:
mWebview  = new WebView(this);
            mWebview.setWebViewClient(new WebViewClient() {
                @Override
                public boolean shouldOverrideUrlLoading(WebView view, String url) {
                    if (url.startsWith("tel:")) {
                        //initiateCall(url);
                        return true;
                    }
                    if (url.startsWith("mailto:")) {
                        //sendEmail(url.substring(7));
                        return true;
                    }
                    return false;
                }
            });
            mWebview.getSettings().setJavaScriptEnabled(true);
            mWebview .loadUrl("http://www.myweb.com");
            setContentView(mWebview );
 
     
     
    