Recycleview not scroll in nested scrollview android
<pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:id="@+id/todoDetailsCoordinatorLayout"
    android:background="@color/windowBackground"
    android:layout_width="match_parent"
    android:layout_height="match_parent"&gt;

    &lt;RelativeLayout
        android:id="@+id/todoEditMainLl"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:background="@color/windowBackground"
        android:orientation="vertical"&gt;

        &lt;android.support.design.widget.AppBarLayout
            android:id="@+id/todoDetailsAppBar"
            android:layout_width="match_parent"
            android:layout_height="@dimen/toolbar_height"
            android:theme="@style/AppTheme.AppBarOverlay"&gt;

            &lt;android.support.v7.widget.Toolbar
                android:id="@+id/todoDetailsToolbar"
                android:layout_width="match_parent"
                android:layout_height="?attr/actionBarSize"
                android:background="?attr/colorPrimary"
                app:contentInsetStart="10dp"
                app:popupTheme="@style/AppTheme.PopupOverlay" /&gt;

        &lt;/android.support.design.widget.AppBarLayout&gt;

        &lt;LinearLayout
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:layout_above="@+id/todoDetailsBottomLl"
            android:layout_below="@+id/todoDetailsAppBar"
            android:orientation="vertical"&gt;

            &lt;android.support.v4.widget.NestedScrollView
                android:id="@+id/todoDetailsScrollView"
                android:layout_width="match_parent"
                android:layout_height="match_parent"&gt;


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

                    &lt;android.support.v7.widget.CardView
                        android:layout_width="match_parent"
                        android:layout_height="wrap_content"
                        android:paddingTop="@dimen/eight_dp"&gt;

                        &lt;LinearLayout
                            android:layout_width="match_parent"
                            android:layout_height="wrap_content"
                            android:orientation="vertical"
                            android:paddingLeft="@dimen/activity_vertical_margin"
                            android:paddingRight="@dimen/activity_vertical_margin"&gt;


                            &lt;RelativeLayout
                                android:layout_width="match_parent"
                                android:layout_height="@dimen/list_item_single_line_height"
                                android:gravity="center_vertical"
                                android:orientation="horizontal"&gt;

                                &lt;LinearLayout
                                    android:layout_width="@dimen/avatar_icon_touch_area_size"
                                    android:layout_height="@dimen/avatar_icon_touch_area_size"
                                    android:gravity="center"
                                    android:orientation="vertical"&gt;

                                    &lt;ImageView
                                        android:layout_width="wrap_content"
                                        android:layout_height="wrap_content"
                                        android:src="@drawable/todo_user"
                                        android:visibility="visible" /&gt;
                                &lt;/LinearLayout&gt;

                                &lt;LinearLayout
                                    android:layout_width="match_parent"
                                    android:layout_height="match_parent"
                                    android:layout_marginLeft="@dimen/list_item_content_left_padding"
                                    android:gravity="center_vertical"
                                    android:orientation="vertical"&gt;

                                    &lt;com.strait.solvenow.Utilities.WithoutPrimaryTextView
                                        android:id="@+id/EditTodoTxtAssignToName"
                                        android:layout_width="match_parent"
                                        android:layout_height="wrap_content"
                                        android:singleLine="true"
                                        android:text="" /&gt;

                                    &lt;com.strait.solvenow.Utilities.WithoutSecondaryTextView
                                        android:id="@+id/EditTodoTxtAssignByName"
                                        android:layout_width="match_parent"
                                        android:layout_height="wrap_content"
                                        android:singleLine="true"
                                        android:text=""

                                        /&gt;
                                &lt;/LinearLayout&gt;
                            &lt;/RelativeLayout&gt;

                            &lt;RelativeLayout
                                android:layout_width="match_parent"
                                android:layout_height="@dimen/todo_details_height"
                                android:gravity="center"
                                android:orientation="horizontal"&gt;

                                &lt;LinearLayout
                                    android:layout_width="@dimen/avatar_icon_touch_area_size"
                                    android:layout_height="@dimen/avatar_icon_touch_area_size"
                                    android:gravity="center"
                                    android:orientation="vertical"&gt;

                                    &lt;ImageView
                                        android:layout_width="wrap_content"
                                        android:layout_height="wrap_content"
                                        android:gravity="center_vertical"
                                        android:src="@drawable/todo_due_date" /&gt;
                                &lt;/LinearLayout&gt;

                                &lt;com.strait.solvenow.Utilities.WithoutPrimaryTextView
                                    android:id="@+id/EditToDoTxtDueDate"
                                    android:layout_width="match_parent"
                                    android:layout_height="match_parent"
                                    android:layout_marginLeft="@dimen/list_item_content_left_padding"
                                    android:background="@null"
                                    android:gravity="left|center"
                                    android:text="@string/Due_Date" /&gt;

                            &lt;/RelativeLayout&gt;

                            &lt;RelativeLayout
                                android:layout_width="match_parent"
                                android:layout_height="@dimen/todo_details_height"
                                android:gravity="center_vertical"
                                android:orientation="horizontal"&gt;

                                &lt;LinearLayout
                                    android:layout_width="@dimen/avatar_icon_touch_area_size"
                                    android:layout_height="@dimen/avatar_icon_touch_area_size"
                                    android:gravity="center"
                                    android:orientation="vertical"&gt;

                                    &lt;ImageView
                                        android:id="@+id/todoDetailsImgStatus"
                                        android:layout_width="wrap_content"
                                        android:layout_height="wrap_content"
                                        android:src="@drawable/user_place_holder" /&gt;
                                &lt;/LinearLayout&gt;

                                &lt;com.strait.solvenow.Utilities.WithoutPrimaryTextView
                                    android:id="@+id/EditToDoTxtStatus"
                                    android:layout_width="match_parent"
                                    android:layout_height="match_parent"
                                    android:layout_marginLeft="@dimen/list_item_content_left_padding"
                                    android:background="@null"
                                    android:gravity="left|center"
                                    android:text="@string/Status" /&gt;

                            &lt;/RelativeLayout&gt;

                            &lt;RelativeLayout
                                android:layout_width="match_parent"
                                android:layout_height="@dimen/todo_details_height"
                                android:gravity="center|left"
                                android:orientation="horizontal"&gt;

                                &lt;LinearLayout
                                    android:layout_width="@dimen/avatar_icon_touch_area_size"
                                    android:layout_height="@dimen/avatar_icon_touch_area_size"
                                    android:gravity="center"
                                    android:orientation="vertical"&gt;

                                    &lt;ImageView
                                        android:layout_width="wrap_content"
                                        android:layout_height="wrap_content"
                                        android:src="@drawable/todo_notification" /&gt;
                                &lt;/LinearLayout&gt;

                                &lt;LinearLayout
                                    android:layout_width="match_parent"
                                    android:layout_height="match_parent"
                                    android:layout_marginLeft="@dimen/list_item_content_left_padding"
                                    android:orientation="horizontal"&gt;

                                    &lt;com.strait.solvenow.Utilities.WithoutPrimaryTextView
                                        android:id="@+id/todoDetailsTxtNotify"
                                        android:layout_width="wrap_content"
                                        android:layout_height="match_parent"
                                        android:gravity="center"
                                        android:text="@string/Notifications" /&gt;


                                    &lt;android.support.v7.widget.SwitchCompat
                                        android:id="@+id/todoEditTglNotification"
                                        android:layout_width="wrap_content"
                                        android:layout_height="match_parent"
                                        android:layout_marginLeft="@dimen/ten_dp"
                                        android:layout_toRightOf="@+id/todoDetailsTxtNotify"
                                        android:background="@android:color/transparent"
                                        android:button="@null"
                                        android:checked="false"
                                        android:text=""
                                        android:textColor="@color/textColorWithoutPrimary"
                                        android:textOff=""
                                        android:textOn="" /&gt;

                                &lt;/LinearLayout&gt;

                            &lt;/RelativeLayout&gt;

                            &lt;RelativeLayout
                                android:layout_width="match_parent"
                                android:layout_height="@dimen/todo_details_height"
                                android:orientation="horizontal"&gt;

                                &lt;LinearLayout
                                    android:layout_width="@dimen/avatar_icon_touch_area_size"
                                    android:layout_height="@dimen/avatar_icon_touch_area_size"
                                    android:gravity="center"
                                    android:orientation="vertical"&gt;

                                    &lt;ImageView
                                        android:id="@+id/todoEditImgAttachment"
                                        android:layout_width="wrap_content"
                                        android:layout_height="wrap_content"
                                        android:src="@drawable/todo_new_attach" /&gt;
                                &lt;/LinearLayout&gt;

                                &lt;com.strait.solvenow.Utilities.WithoutPrimaryTextView
                                    android:id="@+id/chatEditTxtAttachment"
                                    android:layout_width="match_parent"
                                    android:layout_height="match_parent"
                                    android:layout_marginLeft="@dimen/list_item_content_left_padding"
                                    android:gravity="center|left"
                                    android:text="@string/Attachment" /&gt;

                            &lt;/RelativeLayout&gt;

                            &lt;LinearLayout
                                android:layout_width="match_parent"
                                android:layout_height="@dimen/todo_details_height"
                                android:layout_marginLeft="@dimen/list_item_content_left_padding"
                                android:gravity="center|left"
                                android:orientation="horizontal"&gt;

                                &lt;com.strait.solvenow.Utilities.WithoutPrimaryTextView
                                    android:id="@+id/chatEditTxtReminder"
                                    android:layout_width="match_parent"
                                    android:layout_height="match_parent"
                                    android:layout_toRightOf="@+id/todoEditImgAttachment"
                                    android:layout_weight="1"
                                    android:gravity="center|left"
                                    android:text="@string/Reminder"
                                    android:visibility="visible" /&gt;

                                &lt;com.strait.solvenow.Utilities.WithoutPrimaryTextView
                                    android:id="@+id/chatEditTxtForward"
                                    android:layout_width="match_parent"
                                    android:layout_height="match_parent"
                                    android:layout_gravity="center"
                                    android:layout_toRightOf="@+id/todoEditImgAttachment"
                                    android:layout_weight="1"
                                    android:gravity="center|left"
                                    android:text="@string/Forward" /&gt;

                                &lt;com.strait.solvenow.Utilities.WithoutPrimaryTextView
                                    android:id="@+id/chatEditTxtRejected"
                                    android:layout_width="match_parent"
                                    android:layout_height="match_parent"
                                    android:layout_toRightOf="@+id/todoEditImgAttachment"
                                    android:layout_weight="1"
                                    android:gravity="center|left"
                                    android:text="@string/Reject" /&gt;
                            &lt;/LinearLayout&gt;


                        &lt;/LinearLayout&gt;
                    &lt;/android.support.v7.widget.CardView&gt;

                    &lt;!--    &lt;android.support.v4.widget.SwipeRefreshLayout
                            android:id="@+id/todoSwipeRefresh"
                            android:layout_width="match_parent"
                            android:layout_height="wrap_content"
                            android:layout_above="@+id/chatWindowBottomRl"&gt;
    --&gt;
                    &lt;android.support.v7.widget.RecyclerView
                        android:id="@+id/todoRv"
                        android:layout_width="match_parent"
                        android:layout_height="wrap_content"
                        android:paddingBottom="@dimen/five_dp"
                        android:paddingLeft="@dimen/activity_vertical_margin"
                        android:paddingRight="@dimen/activity_vertical_margin"

                        android:paddingTop="@dimen/ten_dp"
                        android:visibility="visible"&gt;&lt;/android.support.v7.widget.RecyclerView&gt;
                    &lt;!--&lt;/android.support.v4.widget.SwipeRefreshLayout&gt;--&gt;
                &lt;/LinearLayout&gt;
            &lt;/android.support.v4.widget.NestedScrollView&gt;
        &lt;/LinearLayout&gt;


        &lt;LinearLayout
            android:id="@+id/todoDetailsBottomLl"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_alignParentBottom="true"
            android:orientation="vertical"&gt;

            &lt;include
                android:id="@+id/todoChatBottomVerticalLine"
                layout="@layout/divider_view_line"
                android:layout_width="match_parent"
                android:layout_height="wrap_content" /&gt;


            &lt;RelativeLayout
                android:layout_width="match_parent"
                android:layout_height="50dp"
                android:gravity="center"
                android:background="@color/windowBackground"
                android:paddingLeft="@dimen/activity_vertical_margin"
                android:paddingRight="@dimen/activity_vertical_margin"
                android:visibility="visible"&gt;


                &lt;ImageView
                    android:id="@+id/todoChatImgAttachment"
                    android:layout_width="@dimen/avatar_icon_touch_area_size"
                    android:layout_height="@dimen/avatar_icon_touch_area_size"
                    android:layout_alignParentLeft="true"
                    android:layout_centerVertical="true"
                    android:padding="@dimen/icon_padding"
                    android:src="@drawable/chat_attachment"
                    android:visibility="visible" /&gt;


                &lt;com.strait.solvenow.Utilities.WithoutEditTextView
                    android:id="@+id/todoChatEdtTextMsg"
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:layout_marginTop="@dimen/five_dp"
                    android:layout_toLeftOf="@+id/todoChatImgSend"
                    android:layout_toRightOf="@+id/todoChatImgAttachment"
                    android:background="@drawable/chat_window_text_msg_bg"
                    android:hint=""
                    android:maxLines="4"
                    android:minHeight="35dp"
                    android:paddingLeft="@dimen/ten_dp"
                    android:text=""
                    android:textSize="16sp"
                    android:visibility="visible" /&gt;

                &lt;ImageView
                    android:id="@+id/todoChatImgSend"
                    android:layout_width="@dimen/avatar_icon_touch_area_size"
                    android:layout_height="@dimen/avatar_icon_touch_area_size"
                    android:layout_alignParentRight="true"
                    android:layout_centerVertical="true"
                    android:gravity="center"
                    android:padding="@dimen/icon_padding"
                    android:src="@drawable/send"
                    android:visibility="visible" /&gt;
            &lt;/RelativeLayout&gt;
        &lt;/LinearLayout&gt;

    &lt;/RelativeLayout&gt;
&lt;/android.support.design.widget.CoordinatorLayout&gt;
</code></pre>

<p>I have using recycle view inside nested Scroll view but Recycle view not scroll down in nested scroll view.recycle view scroll down when keyboard open and new item add in recycle view.here is above my code.</p>