title: Scrollview not scrolling in Android bottomsheet
body: <p>I tried the new <code>BottomSheet</code> in Android support. Inside the <code>BottomSheet</code> I have put a <code>TextView</code> and a <code>ScrollView</code>. The <code>BottomSheet</code>showing just fine, the only problem I found is that the <code>ScrollView</code> in the <code>BottomSheet</code> is not scrolling. Every time I try to scroll, either the layout in main activity that scroll or the <code>BottomSheet</code> changing state from collapse to expand.</p>
  
  <p>This is snippet of my Activity Class code:</p>
  
  <pre><code>private BottomSheetBehavior behavior;
  View bottomSheet;
  
  @Override
  protected void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.main);
  
      setTextViewOnClickListener(this, findViewById(R.id.parentLayout));
  
      CoordinatorLayout coordinatorLayout = (CoordinatorLayout) findViewById(R.id.main_content);
  
      // The View with the BottomSheetBehavior
      bottomSheet = coordinatorLayout.findViewById(R.id.bottom_sheet);
      behavior = BottomSheetBehavior.from(bottomSheet);
      behavior.setBottomSheetCallback(new BottomSheetBehavior.BottomSheetCallback() {
          @Override
          public void onStateChanged(@NonNull View bottomSheet, int newState) {
              // React to state change
  
          }
  
  
          @Override
          public void onSlide(@NonNull View bottomSheet, float slideOffset) {
              // React to dragging events
          }
      });
  
  @Override
  public void onClick(View v) {
      switch (v.getId()) {
          case R.id.tv1:
              setTextViewHeader("Header1");
              setTextViewContent("Long_Text_1");
  
              break;
  
          case R.id.tv2:
              setTextViewHeader("Header2");
              setTextViewContent("Long_Text_2");
  
              break;
  
          case R.id.tv3:
              setTextViewHeader("Header3");
              setTextViewContent("Long_Text_3");
  
              break;
  
          default:
              break;
      }
  
      behavior.setPeekHeight(100);
      behavior.setState(BottomSheetBehavior.STATE_COLLAPSED);
      behavior.setHideable(true);
  
      bottomSheet.requestLayout();
  }
  </code></pre>
  
  <p>This is my Layout XML:</p>
  
  <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"
      xmlns:tools="http://schemas.android.com/tools"
      android:id="@+id/main_content"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:fitsSystemWindows="true"
      tools:context="com.rapidgrowsolutions.android.MainActivity"&gt;
  
  
      &lt;android.support.design.widget.AppBarLayout
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:theme="@style/AppTheme.AppBarOverlay"&gt;
  
  
          &lt;android.support.v7.widget.Toolbar
              android:id="@+id/toolbar"
              android:layout_width="match_parent"
              android:layout_height="?attr/actionBarSize"
              android:background="?attr/colorPrimary"
              app:layout_scrollFlags="scroll|enterAlways"
              app:popupTheme="@style/AppTheme.PopupOverlay" /&gt;
  
  
      &lt;/android.support.design.widget.AppBarLayout&gt;
  
  
      &lt;LinearLayout
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:orientation="vertical"&gt;
  
          &lt;TextView
              android:id="@+id/tv1"
              style="@style/LightRow"
              android:text="some_long_text_here" /&gt;
  
          &lt;TextView
              android:id="@+id/tv2"
              style="@style/DarkRow"
              android:text="another_long_text_here" /&gt;
  
          &lt;TextView
              android:id="@+id/tv3"
              style="@style/LightRow"
              android:text="another_long_text_here" /&gt;
      &lt;/LinearLayout&gt;
  
      &lt;android.support.v4.widget.NestedScrollView
          android:id="@+id/bottom_sheet"
          android:layout_width="match_parent"
          android:layout_height="250dp"
          app:behavior_hideable="true"
          android:fillViewport="true"
          app:layout_behavior="android.support.design.widget.BottomSheetBehavior"&gt;
  
  
          &lt;android.support.v7.widget.LinearLayoutCompat
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:background="#FF7733"
              android:orientation="vertical"&gt;
  
  
              &lt;TextView
                  android:id="@+id/tvID1"
                  android:layout_width="match_parent"
                  android:layout_height="wrap_content"
                  android:layout_weight="1"
                  android:text="HEADER"
                  android:textAppearance="?android:attr/textAppearanceMedium" /&gt;
  
              &lt;ScrollView
                  android:layout_width="match_parent"
                  android:layout_height="match_parent"
                  android:layout_weight="9"
                  android:background="#ffb773"
                  android:fillViewport="true"&gt;
  
  
                  &lt;TextView
                      android:id="@+id/tvID2"
                      android:layout_width="match_parent"
                      android:layout_height="wrap_content"
                      android:background="#3377ff"
                      android:textAppearance="?android:attr/textAppearanceSmall" /&gt;
              &lt;/ScrollView&gt;
  
  
          &lt;/android.support.v7.widget.LinearLayoutCompat&gt;
  
      &lt;/android.support.v4.widget.NestedScrollView&gt;
  
  &lt;/android.support.design.widget.CoordinatorLayout&gt;
  </code></pre>