I have one WebView which has a RelativeLayout parent.
in WebView when i click on some specific button, it loads another url. i want to disable keyboard on that url. and that url i got in shouldoverrideurlloading(WebView view , Url Url) method. 
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:background="@drawable/background"
    android:gravity="center_horizontal"
    android:orientation="vertical"
    tools:context="com.xenopsi.benchmark.BrowserActivity">
    <WebView
        android:id="@+id/browserView"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:paddingBottom="@dimen/activity_vertical_margin"
        android:paddingLeft="@dimen/activity_horizontal_margin"
        android:paddingRight="@dimen/activity_horizontal_margin"
        android:paddingTop="@dimen/activity_vertical_margin"
        android:scrollbars="none"/>
   </RelativeLayout>
On that method i did:
relativeLayout.setDescendantFocusability(ViewGroup.FOCUS_BLOCK_DESCENDANTS);
webView.setFocusable(false);
webView.setFocusableInTouchMode(true);
but still when i tap on text field of that page , keyboard still shown.
if i did same code on onCreate() method of activity, its work fine,
but my problem is want to disable it on shouldOverrideUrlLoading method when my page load.
 
    