How to avoid keyboard block screen using scroll view (using adjustResize)
<p>My question may be [duplicate] i try all solutions but nothing work.</p>

<p><a href="https://i.stack.imgur.com/dfivK.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/dfivK.png" alt="Scroll full down and its not show bottom of scroll view"></a></p>

<p><a href="https://i.stack.imgur.com/MOKzt.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/MOKzt.png" alt="Its Image without keyboard full scroll down"></a></p>

<p>Activity declare in manifest 
I am using adjustResize but its not work . i try adjustPan and other option but no one works.</p>

<pre><code>     &lt;activity
        android:name=".NotesActivity"
        android:configChanges="keyboardHidden|orientation|screenSize"
        android:windowSoftInputMode="adjustResize"&gt;&lt;/activity&gt;
</code></pre>

<p>XML screen code
I am using scroll view but still cant prevent screen blockage .</p>

<pre><code>&lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/colorPrimaryDark"
android:fitsSystemWindows="false"
android:focusable="true"
android:focusableInTouchMode="true"&gt;

&lt;android.support.v7.widget.Toolbar
    android:id="@+id/toolbar"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:layout_alignParentTop="true"
    android:theme="@style/AppTheme"&gt;

    &lt;TextView
        android:id="@+id/toolbar_title"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_gravity="center"
        android:textColor="@color/colorwhite"
        android:textSize="18sp" /&gt;

&lt;/android.support.v7.widget.Toolbar&gt;

&lt;View
    android:id="@+id/sep"
    android:layout_width="match_parent"
    android:layout_height="1dp"
    android:layout_below="@+id/toolbar"
    android:background="@color/colorwhite" /&gt;


&lt;ScrollView
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:layout_below="@+id/sep"
    android:background="@color/colorPrimaryDark"
    android:fillViewport="true"
    android:focusable="true"
    android:focusableInTouchMode="true"
    android:padding="15dp"
    android:scrollbars="none"&gt;

    &lt;LinearLayout
        android:id="@+id/llayout"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:orientation="vertical"
        android:visibility="visible"&gt;

        &lt;TextView
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginTop="10dp"
            android:text="Medical Certificate Issued:"
            android:textColor="@color/colorwhite"
            android:textSize="16sp" /&gt;


        &lt;RadioGroup
            android:layout_width="fill_parent"
            android:layout_height="wrap_content"
            android:layout_marginTop="10dp"
            android:background="@drawable/round_edittext"
            android:orientation="horizontal"
            android:padding="8dp"
            android:theme="@style/AppTheme3"&gt;

            &lt;RadioButton
                android:id="@+id/radio_yes"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_marginLeft="5dp"
                android:buttonTint="@color/colorblack"
                android:onClick="onRadioButtonClicked"
                android:paddingRight="10dp"
                android:text="Yes"
                android:textSize="18sp"
                android:theme="@style/AppTheme3" /&gt;

            &lt;RadioButton
                android:id="@+id/radio_no"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_marginLeft="15dp"
                android:buttonTint="@color/colorblack"
                android:checked="true"
                android:onClick="onRadioButtonClicked"
                android:text="No"
                android:textSize="18sp"
                android:theme="@style/AppTheme3" /&gt;
        &lt;/RadioGroup&gt;

        &lt;LinearLayout
            android:id="@+id/certificate_layout"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginTop="10dp"
            android:orientation="horizontal"
            android:padding="25dp"
            android:weightSum="2"&gt;


            &lt;TextView
                android:id="@+id/certificate_from"
                android:layout_width="0dp"
                android:layout_height="wrap_content"
                android:layout_marginRight="10dp"
                android:layout_marginTop="10dp"
                android:layout_weight="1"
                android:background="@drawable/round_edittext"
                android:gravity="center_vertical|left"
                android:maxLines="1"
                android:minLines="1"
                android:paddingBottom="8dp"
                android:paddingLeft="5dp"
                android:paddingTop="8dp"
                android:text="From"
                android:textColor="@color/colorblack" /&gt;

            &lt;TextView
                android:id="@+id/certificate_to"
                android:layout_width="0dp"
                android:layout_height="wrap_content"
                android:layout_marginRight="10dp"
                android:layout_marginTop="10dp"
                android:layout_weight="1"
                android:background="@drawable/round_edittext"
                android:gravity="center_vertical|left"
                android:maxLines="1"
                android:minLines="1"
                android:paddingBottom="8dp"
                android:paddingLeft="5dp"
                android:paddingTop="8dp"
                android:text="To"
                android:textColor="@color/colorblack" /&gt;

        &lt;/LinearLayout&gt;

        &lt;TextView
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginTop="10dp"
            android:text="Follow up required:"
            android:textColor="@color/colorwhite"
            android:textSize="16sp" /&gt;

        &lt;RadioGroup
            android:layout_width="fill_parent"
            android:layout_height="wrap_content"
            android:layout_marginTop="10dp"
            android:background="@drawable/round_edittext"
            android:orientation="horizontal"
            android:padding="8dp"
            android:theme="@style/AppTheme3"&gt;

            &lt;RadioButton
                android:id="@+id/radio_follow_yes"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_marginLeft="5dp"
                android:buttonTint="@color/colorblack"
                android:paddingRight="10dp"
                android:text="Yes"
                android:textSize="18sp"
                android:theme="@style/AppTheme3" /&gt;

            &lt;RadioButton
                android:id="@+id/radio_follow_no"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_marginLeft="15dp"
                android:buttonTint="@color/colorblack"
                android:checked="true"
                android:text="No"
                android:textSize="18sp"
                android:theme="@style/AppTheme3" /&gt;
        &lt;/RadioGroup&gt;

        &lt;LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginTop="15dp"
            android:background="@drawable/round_edittext"
            android:orientation="horizontal"
            android:paddingLeft="5dp"
            android:paddingRight="5dp"
            android:weightSum="3"&gt;

            &lt;CheckBox
                android:id="@+id/checkbox_sc"
                android:layout_width="0dp"
                android:layout_height="wrap_content"
                android:layout_alignParentLeft="true"
                android:layout_weight="1.1"
                android:buttonTint="@color/colorblack"
                android:paddingBottom="8dp"
                android:paddingTop="8dp"
                android:text="SC"
                android:theme="@style/AppTheme3" /&gt;

            &lt;CheckBox
                android:id="@+id/checkbox_p"
                android:layout_width="0dp"
                android:layout_height="wrap_content"
                android:layout_centerHorizontal="true"
                android:layout_weight="1.1"
                android:buttonTint="@color/colorblack"
                android:paddingBottom="8dp"
                android:paddingTop="8dp"
                android:text="P"
                android:theme="@style/AppTheme3" /&gt;

            &lt;CheckBox
                android:id="@+id/checkbox_pt"
                android:layout_width="0dp"
                android:layout_height="wrap_content"
                android:layout_alignParentRight="true"
                android:layout_weight="0.8"
                android:buttonTint="@color/colorblack"
                android:ems="3"
                android:paddingBottom="8dp"
                android:paddingTop="8dp"
                android:text="PT"
                android:theme="@style/AppTheme3" /&gt;

        &lt;/LinearLayout&gt;

        &lt;LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginTop="10dp"
            android:background="@drawable/round_edittext"
            android:orientation="horizontal"
            android:paddingLeft="5dp"
            android:paddingRight="5dp"
            android:weightSum="3"&gt;

            &lt;CheckBox
                android:id="@+id/checkbox_rfb"
                android:layout_width="0dp"
                android:layout_height="wrap_content"
                android:layout_alignParentLeft="true"
                android:layout_weight="1.1"
                android:buttonTint="@color/colorblack"
                android:paddingBottom="8dp"
                android:paddingTop="8dp"
                android:text="RFB"
                android:theme="@style/AppTheme3" /&gt;

            &lt;CheckBox
                android:id="@+id/checkbox_path"
                android:layout_width="0dp"
                android:layout_height="wrap_content"
                android:layout_centerHorizontal="true"
                android:layout_weight="1.1"
                android:buttonTint="@color/colorblack"
                android:paddingBottom="8dp"
                android:paddingTop="8dp"
                android:text="PATH"
                android:theme="@style/AppTheme3" /&gt;

            &lt;CheckBox
                android:id="@+id/checkbox_ref"
                android:layout_width="0dp"
                android:layout_height="wrap_content"
                android:layout_alignParentRight="true"
                android:layout_weight="0.8"
                android:buttonTint="@color/colorblack"
                android:paddingBottom="8dp"
                android:paddingTop="8dp"
                android:text="REF"
                android:theme="@style/AppTheme3" /&gt;

        &lt;/LinearLayout&gt;


        &lt;RelativeLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginTop="15dp"&gt;

            &lt;TextView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_alignBottom="@+id/edit"
                android:text="Your Signature:"
                android:textColor="@color/colorwhite"
                android:textSize="16sp" /&gt;


            &lt;TextView
                android:id="@+id/remove"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_alignParentRight="true"
                android:layout_marginTop="10dp"
                android:background="@drawable/round_line"
                android:ems="5"
                android:gravity="center"
                android:maxLines="1"
                android:paddingBottom="8dp"
                android:paddingLeft="15dp"
                android:paddingRight="15dp"
                android:paddingTop="8dp"
                android:text="Remove"
                android:textColor="@color/colorwhite" /&gt;

            &lt;TextView
                android:id="@+id/edit"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_marginRight="20dp"
                android:layout_marginTop="10dp"
                android:layout_toLeftOf="@+id/remove"
                android:background="@drawable/round_line"
                android:ems="5"
                android:gravity="center"
                android:maxLines="1"
                android:paddingBottom="8dp"
                android:paddingLeft="15dp"
                android:paddingRight="15dp"
                android:paddingTop="8dp"
                android:text="Edit"
                android:textColor="@color/colorwhite" /&gt;

        &lt;/RelativeLayout&gt;

        &lt;RelativeLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginTop="10dp"
            android:background="@drawable/round_edittext"&gt;

            &lt;TextView
                android:id="@+id/add"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:gravity="center"
                android:minLines="7"
                android:text="Add your signature!"
                android:textColor="@color/colorblack"
                android:textSize="20sp"
                android:textStyle="bold" /&gt;

            &lt;ImageView
                android:id="@+id/signature_img"
                android:layout_width="wrap_content"
                android:layout_height="200dp"
                android:layout_alignBottom="@+id/add"
                android:layout_alignLeft="@+id/add"
                android:layout_alignRight="@+id/add"
                android:layout_alignTop="@+id/add" /&gt;

        &lt;/RelativeLayout&gt;


        &lt;Button
            android:id="@+id/submit"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginTop="10dp"
            android:background="@drawable/round_green"
            android:gravity="center"
            android:maxLines="1"
            android:paddingBottom="8dp"
            android:paddingLeft="5dp"
            android:paddingTop="8dp"
            android:text="Submit"
            android:textColor="@color/colorwhite"
            android:textSize="18sp" /&gt;

    &lt;/LinearLayout&gt;


&lt;/ScrollView&gt;

&lt;ProgressBar
    android:id="@+id/login_progress"
    style="?android:attr/progressBarStyleLarge"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_centerHorizontal="true"
    android:layout_centerVertical="true"
    android:layout_marginBottom="8dp"
    android:visibility="gone" /&gt;
</code></pre>

<p></p>