title: Android NestedScrollView inside in BottomSheetBehavior
body: <p>This is part of my xml code. I have on partent CoordinatorLayout and this is a BottomSheetBehavior, next I have a big view and I put this view inside in NestedScrollView  , because I have to scroll this. Now I have a issue, When I scroll up BottomSheetBehavior i have a BottomSheetBehavior on full screen but I can not scroll my view up, I do not see what I have. I try change a NestedScrollView   to ScrollView but it does not help me.</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;androidx.coordinatorlayout.widget.CoordinatorLayout
      xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:app="http://schemas.android.com/apk/res-auto"
      android:id="@+id/bottom_sheet"
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:background="@android:color/transparent"
      android:orientation="vertical"
      app:behavior_hideable="false"
      app:behavior_peekHeight="85dp"
      app:layout_behavior="com.google.android.material.bottomsheet.BottomSheetBehavior"
      &gt;  
      &lt;androidx.core.widget.NestedScrollView
          android:layout_width="match_parent"
          android:background="@color/colorPrimary"
          android:layout_height="wrap_content"&gt;    
          &lt;RelativeLayout
              android:layout_width="match_parent"
              android:layout_height="wrap_content"&gt;
  
              &lt;RelativeLayout
                  android:layout_width="match_parent"
                  android:layout_height="wrap_content"&gt;
                  &lt;RelativeLayout
                      android:id="@+id/temp"
                      android:layout_width="match_parent"
                      android:layout_height="wrap_content"
                      android:layout_marginStart="10sp"
                      android:layout_marginEnd="10sp" &gt;
  
                      &lt;Button
                          android:id="@+id/bt_find_connection"
                          android:layout_width="match_parent"
                          android:layout_height="wrap_content"
                          android:text="aaa"
                          /&gt;
  
                      &lt;RelativeLayout
                          android:layout_width="match_parent"
                          android:layout_height="match_parent"
                          android:layout_below="@+id/bt_find_connection"&gt;
  
                          &lt;LinearLayout
                              android:id="@+id/user_info_panel"
                              android:layout_width="match_parent"
                              android:layout_height="wrap_content"
                              android:layout_alignParentTop="true"
                              android:layout_marginTop="5sp"&gt;
  
                              &lt;ImageView
                                  android:id="@+id/iv_photo"
                                  android:layout_width="50sp"
                                  android:layout_height="50sp"
                                  android:scaleType="centerCrop" /&gt;
  
                              &lt;RelativeLayout
                                  android:layout_width="0sp"
                                  android:layout_height="wrap_content"
                                  android:layout_marginStart="5sp"
                                  android:layout_marginEnd="5sp"
                                  android:layout_weight="3.5"&gt;
  
                                  &lt;TextView
                                      android:id="@+id/tv_user_name"
                                      android:layout_width="match_parent"
                                      android:layout_height="wrap_content"
                                      android:textStyle="bold" /&gt;
  
                                  &lt;TextView
                                      android:id="@+id/tv_user_mail"
                                      android:layout_width="match_parent"
                                      android:layout_height="wrap_content"
                                      android:layout_below="@+id/tv_user_name"
                                   /&gt;
  
                              &lt;/RelativeLayout&gt;
  
                              &lt;ImageView
                                  android:id="@+id/iv_settings"
                                  android:layout_width="50sp"
                                  android:layout_height="50sp" /&gt;
  
                          &lt;/LinearLayout&gt;
  
                          &lt;TextView
                              android:id="@+id/tv_active_tickets"
                              android:layout_width="match_parent"
                              android:layout_height="wrap_content"
                              android:layout_below="@+id/user_info_panel"
                           /&gt;
  
                          &lt;androidx.recyclerview.widget.RecyclerView
                              android:id="@+id/list_tickets"
                              android:layout_width="match_parent"
                              android:layout_height="wrap_content"
                              android:layout_below="@+id/tv_active_tickets" /&gt;
  
                          &lt;TextView
                              android:id="@+id/tv_tickets"
                              android:layout_width="match_parent"
                              android:layout_height="wrap_content"
                              android:layout_below="@id/list_tickets"
                              android:layout_marginTop="25sp"/&gt;
  
                          &lt;RelativeLayout
                              android:id="@+id/buy_ticket_panel"
                              android:layout_width="match_parent"
                              android:layout_height="130dp"
                              android:layout_below="@+id/tv_tickets"
                              android:layout_marginTop="8sp"
                            &gt;
  
                              &lt;LinearLayout
                                  android:layout_width="match_parent"
                                  android:layout_height="match_parent"&gt;
  
                                  &lt;RelativeLayout
                                      android:layout_width="0sp"
                                      android:layout_height="match_parent"
                                      android:layout_marginStart="10sp"
                                      android:layout_marginEnd="10sp"
                                      android:layout_weight="1"&gt;
  
                                      &lt;TextView
                                          android:id="@+id/tv_purchase_of_tickets"
                                          android:layout_width="match_parent"
                                          android:layout_height="wrap_content"
                                          android:layout_marginTop="16sp"
  
                                          android:textStyle="bold" /&gt;
  
                                      &lt;TextView
                                          android:layout_width="match_parent"
                                          android:layout_height="wrap_content"
                                          android:layout_below="@+id/tv_purchase_of_tickets"
                                          android:layout_marginTop="30sp"
                                    /&gt;
  
                                  &lt;/RelativeLayout&gt;
  
                                  &lt;RelativeLayout
                                      android:layout_width="0sp"
                                      android:layout_height="match_parent"
                                      android:layout_weight="1"&gt;
  
                                      &lt;ImageView
                                          android:id="@+id/iv_ticket"
                                          android:layout_width="wrap_content"
                                          android:layout_height="wrap_content"
                                          android:layout_marginStart="10sp"
                                          android:layout_marginTop="20sp"
                                   /&gt;
  
                                  &lt;/RelativeLayout&gt;
  
                              &lt;/LinearLayout&gt;
  
                          &lt;/RelativeLayout&gt;
  
                          &lt;LinearLayout
                              android:id="@+id/middle_control"
                              android:layout_width="match_parent"
                              android:layout_height="170sp"
                              android:layout_below="@+id/buy_ticket_panel"
                              android:layout_marginTop="10sp"
                              android:orientation="horizontal"&gt;
  
                              &lt;RelativeLayout
                                  android:layout_width="0sp"
                                  android:layout_height="match_parent"
                                  android:layout_marginStart="10sp"
                                  android:layout_marginTop="10sp"
                                  android:layout_marginEnd="10sp"
                                  android:layout_weight="1"&gt;
  
                                  &lt;LinearLayout
                                      android:id="@+id/parking_panel_top_control"
                                      android:layout_width="match_parent"
                                      android:layout_height="wrap_content"
                                      android:orientation="horizontal"&gt;
  
                                      &lt;TextView
                                          android:layout_width="0sp"
                                          android:layout_height="wrap_content"
                                          android:layout_marginTop="5sp"
                                          android:layout_weight="1"
  
                                          android:textStyle="bold" /&gt;
  
                                      &lt;ImageView
                                          android:layout_width="0sp"
                                          android:layout_height="wrap_content"
                                          android:layout_marginTop="8sp"
                                          android:layout_weight="0.35"
                                        /&gt;
  
                                  &lt;/LinearLayout&gt;
  
                                  &lt;TextView
                                      android:id="@+id/tv_actual_city"
                                      android:layout_width="match_parent"
                                      android:layout_height="wrap_content"
                                      android:layout_above="@+id/parking_zone_frame"
                                      android:layout_marginTop="20sp"
                                   /&gt;
  
                                  &lt;LinearLayout
                                      android:id="@+id/parking_zone_frame"
                                      android:layout_width="match_parent"
                                      android:layout_height="60sp"
                                      android:layout_alignParentBottom="true"
                                      android:layout_marginTop="5sp"
                                      android:orientation="horizontal"&gt;
  
                                      &lt;ImageView
                                          android:layout_width="0sp"
                                          android:layout_height="wrap_content"
                                          android:layout_marginTop="10sp"
                                          android:layout_weight="0.3"
                                   /&gt;
  
                                      &lt;RelativeLayout
                                          android:layout_width="0sp"
                                          android:layout_height="wrap_content"
                                          android:layout_marginStart="5sp"
                                          android:layout_weight="1"&gt;
  
                                          &lt;TextView
                                              android:id="@+id/tv_city_parking"
                                              android:layout_width="wrap_content"
                                              android:layout_height="wrap_content"
                                              android:text="Kraków"
  
                                              android:textStyle="bold" /&gt;
  
                                          &lt;TextView
                                              android:id="@+id/tv_parking_zone"
                                              android:layout_width="wrap_content"
                                              android:layout_height="wrap_content"
                                              android:layout_below="@+id/tv_city_parking"
                                              android:text="Strefa A"
                                    /&gt;
  
                                      &lt;/RelativeLayout&gt;
  
                                  &lt;/LinearLayout&gt;
  
                              &lt;/RelativeLayout&gt;
  
                              &lt;View
                                  android:layout_width="10sp"
                                  android:layout_height="match_parent"
                               /&gt;
  
                              &lt;RelativeLayout
                                  android:layout_width="0sp"
                                  android:layout_height="match_parent"
                                  android:layout_marginStart="10sp"
                                  android:layout_marginTop="10sp"
                                  android:layout_marginEnd="10sp"
                                  android:layout_weight="1"&gt;
  
                                  &lt;LinearLayout
                                      android:id="@+id/park_and_drive_panel_top_control"
                                      android:layout_width="match_parent"
                                      android:layout_height="wrap_content"
                                      android:orientation="horizontal"&gt;
  
                                      &lt;TextView
                                          android:layout_width="0sp"
                                          android:layout_height="wrap_content"
                                          android:layout_marginTop="5sp"
                                          android:layout_weight="1"
  
                                          android:textStyle="bold" /&gt;
  
                                      &lt;ImageView
                                          android:layout_width="0sp"
                                          android:layout_height="wrap_content"
                                          android:layout_marginTop="8sp"
                                          android:layout_weight="0.35"
                              /&gt;
  
                                  &lt;/LinearLayout&gt;
  
                                  &lt;TextView
                                      android:id="@+id/tv_nearest_parking"
                                      android:layout_width="match_parent"
                                      android:layout_height="wrap_content"
                                      android:layout_above="@+id/frame_park_and_drive"
                                      android:layout_marginTop="20sp"
                                 /&gt;
  
                                  &lt;LinearLayout
                                      android:id="@+id/frame_park_and_drive"
                                      android:layout_width="match_parent"
                                      android:layout_height="60sp"
                                      android:layout_alignParentBottom="true"
                                      android:layout_marginTop="5sp"
                                      android:orientation="horizontal"&gt;
  
                                      &lt;ImageView
                                          android:layout_width="0sp"
                                          android:layout_height="wrap_content"
                                          android:layout_marginTop="10sp"
                                          android:layout_weight="0.3"
                                        /&gt;
  
                                      &lt;RelativeLayout
                                          android:layout_width="0sp"
                                          android:layout_height="wrap_content"
                                          android:layout_marginStart="5sp"
                                          android:layout_weight="1"&gt;
  
                                          &lt;TextView
                                              android:id="@+id/tv_parking_name"
                                              android:layout_width="wrap_content"
                                              android:layout_height="wrap_content"
                                              android:text="Mały Płaszów"
  
                                              android:textStyle="bold" /&gt;
  
                                          &lt;TextView
                                              android:id="@+id/tv_free_places"
                                              android:layout_width="wrap_content"
                                              android:layout_height="wrap_content"
                                              android:layout_below="@+id/tv_parking_name"
                                              android:text="150 wolnych miejsc"
                                          /&gt;
  
                                      &lt;/RelativeLayout&gt;
  
                                  &lt;/LinearLayout&gt;
  
                              &lt;/RelativeLayout&gt;
  
                          &lt;/LinearLayout&gt;
  
                          &lt;TextView
                              android:id="@+id/tv_purses"
                              android:layout_width="match_parent"
                              android:layout_height="wrap_content"
                              android:layout_below="@+id/middle_control"
                              android:layout_marginTop="20sp"
                            /&gt;
  
                          &lt;androidx.recyclerview.widget.RecyclerView
                              android:id="@+id/list_wallets"
                              android:layout_width="match_parent"
                              android:layout_height="wrap_content"
                              android:layout_below="@+id/tv_purses" /&gt;
  
                          &lt;TextView
                              android:id="@+id/tv_event"
                              android:layout_width="match_parent"
                              android:layout_height="wrap_content"
                              android:layout_below="@+id/list_wallets"
                              android:layout_marginTop="20sp"
                  /&gt;
  
                          &lt;RelativeLayout
                              android:layout_width="180sp"
                              android:layout_height="120sp"
                              android:layout_below="@+id/tv_event"
                     &gt;
  
                              &lt;LinearLayout
                                  android:id="@+id/control_frame"
                                  android:layout_width="match_parent"
                                  android:layout_height="wrap_content"
                                  android:layout_marginStart="10sp"
                                  android:layout_marginEnd="10sp"&gt;
  
                                  &lt;TextView
                                      android:id="@+id/tv_events"
                                      android:layout_width="0sp"
                                      android:layout_height="wrap_content"
                                      android:layout_marginTop="5sp"
                                      android:layout_weight="1"
  
                                      android:textStyle="bold" /&gt;
  
                                  &lt;ImageView
                                      android:layout_width="0sp"
                                      android:layout_height="wrap_content"
                                      android:layout_marginTop="10sp"
                                      android:layout_weight="0.35"
                                   /&gt;
  
                              &lt;/LinearLayout&gt;
  
                              &lt;TextView
                                  android:id="@+id/events_display"
                                  android:layout_width="match_parent"
                                  android:layout_height="wrap_content"
                                  android:layout_alignParentBottom="true"
                                  android:layout_marginTop="20sp"
                                  android:layout_marginBottom="20sp"
                      /&gt;
  
                          &lt;/RelativeLayout&gt;
  
  
                      &lt;/RelativeLayout&gt;
  
                  &lt;/RelativeLayout&gt;
  
              &lt;/RelativeLayout&gt;
  
          &lt;/RelativeLayout&gt;
      &lt;/androidx.core.widget.NestedScrollView&gt;
  &lt;/androidx.coordinatorlayout.widget.CoordinatorLayout&gt;
  </code></pre>
  
  <p>And this is my main_activity xml file:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:app="http://schemas.android.com/apk/res-auto"
      android:layout_width="match_parent"
      android:layout_height="match_parent"&gt;
      &lt;fragment
          android:id="@+id/maps"
          android:name="com.google.android.gms.maps.SupportMapFragment"
          android:layout_width="match_parent"
          android:layout_height="match_parent" /&gt;
      &lt;include layout="@layout/sheet_map" /&gt;
  
  &lt;/androidx.coordinatorlayout.widget.CoordinatorLayout&gt;
  </code></pre>