title: NestedScrollView in fragment with TabLayout & ViewPager not able to scroll
body: <p>I added NestedScrollView into my fragment as following code snippet.</p>
  
  <p>I'm using FragmentPagerAdapter to display fragment content in ViewPager. (following <a href="https://guides.codepath.com/android/google-play-style-tabs-using-tablayout" rel="nofollow noreferrer">this article</a>) </p>
  
  <p>Content is populating properly but I'm not able to scroll.</p>
  
  <p><strong>main_fragment.xml</strong></p>
  
  <pre><code>&lt;android.support.v4.widget.NestedScrollView
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:fillViewport="true"&gt;
  
      &lt;LinearLayout
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:orientation="vertical"
          android:weightSum="1"
          android:background="@color/feed_grey_background" &gt;
  
          &lt;LinearLayout
              android:orientation="horizontal"
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:padding="@dimen/default_gap_1_5x"&gt;
          &lt;/LinearLayout&gt;
  
          &lt;android.support.design.widget.TabLayout
              android:id="@+id/sliding_tabs"
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              app:tabMode="fixed" /&gt;
  
          &lt;android.support.v4.view.ViewPager
              android:id="@+id/viewpager"
              android:layout_width="match_parent"
              android:layout_height="0dp"
              android:layout_weight="1"
              android:background="@android:color/holo_blue_light" /&gt;
  
      &lt;/LinearLayout&gt;
  &lt;/android.support.v4.widget.NestedScrollView&gt;
  </code></pre>
  
  <p><strong>tabview_fragment.xml</strong></p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;android.support.v7.widget.RecyclerView
      xmlns:android="http://schemas.android.com/apk/res/android"
      android:id="@+id/postList"
      android:layout_width="match_parent"
      android:layout_height="match_parent" /&gt;
  </code></pre>
  
  <p><strong>update</strong></p>
  
  <p>I'm able to scroll recycler view (not nestedscrollview) if I remove <code>recyclerView.setNestedScrollingEnabled(false);</code></p>