title: Android scrolling function in cardView + RecyclerView layout
body: <p>In my application I have first the cardview and then RecyclerView.
  Using my existing code I am able to scroll the whole page. But I want that I can also scroll only the card view items. Currently when I try to scroll cardview the complete layout is scrolled. </p>
  
  <p><a href="https://i.stack.imgur.com/uP6XU.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/uP6XU.jpg" alt="Picture"></a></p>
  
  <p>My current code:-</p>
  
  <p>
  </p>
  
  <pre><code>&lt;android.support.design.widget.AppBarLayout
      android:id="@+id/app_bar_layout"
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:fitsSystemWindows="true"
      android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"&gt;
  
  
      &lt;android.support.design.widget.CollapsingToolbarLayout
          android:id="@+id/collapsing_toolbar"
          android:layout_width="match_parent"
          android:layout_height="match_parent"
          app:layout_scrollFlags="scroll|exitUntilCollapsed"
          app:contentScrim="?attr/colorPrimary"
          app:expandedTitleMarginStart="48dp"
          app:expandedTitleMarginEnd="64dp"
          android:fitsSystemWindows="true"&gt;
  
          &lt;android.support.v7.widget.CardView style="@style/Card"&gt;
  
              &lt;LinearLayout style="@style/CardContainer"
                  android:isScrollContainer="true"&gt;
  
  
                      &lt;com.greenfrvr.hashtagview.HashtagView
                          android:id="@+id/hashtags6"
                          style="@style/HashtagView"
                          app:rowGravity="center"
                          app:rowMode="stretch"
                          app:selectionMode="true"
                          app:tagBackground="@drawable/item_bg_1"
                          app:tagForeground="@drawable/flat_button_light"
                          app:tagPaddingBottom="@dimen/padding_vertical"
                          app:tagPaddingLeft="@dimen/padding_horizontal"
                          app:tagPaddingRight="@dimen/padding_horizontal"
                          app:tagPaddingTop="@dimen/padding_vertical"
                          app:tagTextColor="#E5E5E5" /&gt;
  
  
  
              &lt;/LinearLayout&gt;
          &lt;/android.support.v7.widget.CardView&gt;
  
  
  
  
          &lt;android.support.v7.widget.Toolbar
              android:id="@+id/toolbar"
              android:layout_width="match_parent"
              android:layout_height="?attr/actionBarSize"
              app:popupTheme="@style/ThemeOverlay.AppCompat.Light"
              app:layout_collapseMode="pin" /&gt;
  
      &lt;/android.support.design.widget.CollapsingToolbarLayout&gt;
  
  
  &lt;/android.support.design.widget.AppBarLayout&gt;
  
  
  
  
      &lt;android.support.v7.widget.RecyclerView
      android:id="@+id/list"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      app:layout_behavior="@string/appbar_scrolling_view_behavior" /&gt;
  </code></pre>
  
  <p></p>