title: SwipeRefreshLayout with NestedScrollView and LinearLayout
body: <pre><code>&lt;RelativeLayout 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:layout_width="match_parent"
      android:layout_height="match_parent"&gt;
  
      &lt;!--&lt;include--&gt;
      &lt;!--android:id="@+id/app_bar"--&gt;
      &lt;!--layout="@layout/app_bar" /&gt;--&gt;
  
  
      &lt;android.support.design.widget.CoordinatorLayout
          android:id="@+id/rootLayout"
          android:layout_width="match_parent"
          android:layout_height="match_parent"
          android:layout_below="@+id/app_bar"&gt;
  
          &lt;android.support.design.widget.AppBarLayout
              android:layout_width="match_parent"
              android:layout_height="256dp"&gt;
  
              &lt;android.support.design.widget.CollapsingToolbarLayout
                  android:id="@+id/collapsingToolbarLayout"
                  android:layout_width="match_parent"
                  android:layout_height="match_parent"
                  app:contentScrim="?attr/colorPrimary"
                  app:expandedTitleMarginStart="64dp"
                  app:layout_scrollFlags="scroll|exitUntilCollapsed"&gt;
  
                  &lt;ImageView
                      android:layout_width="match_parent"
                      android:layout_height="match_parent"
                      android:scaleType="centerCrop"
                      android:src="@drawable/header"
                      app:layout_collapseMode="parallax"
                      app:layout_collapseParallaxMultiplier="0.7" /&gt;
  
                  &lt;android.support.v7.widget.Toolbar
                      android:id="@+id/toolbarTutorial"
                      android:layout_width="match_parent"
                      android:layout_height="50dp"
                      android:minHeight="?attr/actionBarSize"
                      app:layout_collapseMode="pin"
                      app:popupTheme="@style/ThemeOverlay.AppCompat.Light"
                      app:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar" /&gt;
  
                  &lt;TextView
                      android:id="@+id/textViewAppBar"
                      android:layout_width="match_parent"
                      android:layout_height="50dp"
                      android:layout_gravity="bottom"
                      android:gravity="center"
                      android:scrollbarDefaultDelayBeforeFade="@id/toolbarTutorial"
                      android:text="test"
                      android:textColor="@color/white"
                      android:textSize="30sp" /&gt;
  
  
              &lt;/android.support.design.widget.CollapsingToolbarLayout&gt;
  
              &lt;!--&lt;android.support.design.widget.TabLayout--&gt;
              &lt;!--android:id="@+id/tabLayout"--&gt;
              &lt;!--android:layout_width="match_parent"--&gt;
              &lt;!--android:layout_height="wrap_content"--&gt;
              &lt;!--app:layout_scrollFlags="scroll|enterAlways"/&gt;--&gt;
  
          &lt;/android.support.design.widget.AppBarLayout&gt;
  
  
          &lt;android.support.v4.widget.SwipeRefreshLayout xmlns:android="http://schemas.android.com/apk/res/android"
              android:id="@+id/swipe_container"
              android:layout_width="match_parent"
              android:layout_height="match_parent"&gt;
  
              &lt;android.support.v4.widget.NestedScrollView
                  android:layout_width="match_parent"
                  android:layout_height="match_parent"
                  android:fillViewport="true"
                  app:layout_behavior="@string/appbar_scrolling_view_behavior"&gt;
  
  
                  &lt;!--&lt;android.support.v4.widget.SwipeRefreshLayout--&gt;
                  &lt;!--android:id="@+id/activity_main_swipe_refresh_layout"--&gt;
                  &lt;!--android:layout_width="match_parent"--&gt;
                  &lt;!--android:layout_height="wrap_content"&gt;--&gt;
                  &lt;LinearLayout
                      android:id="@+id/linearLayoutWithData"
                      android:layout_width="match_parent"
                      android:layout_height="match_parent"
                      android:orientation="vertical"
                      app:layout_behavior="@string/appbar_scrolling_view_behavior"&gt;
  
                      &lt;!--&lt;TextView--&gt;
                      &lt;!--android:id="@+id/textViewInternet"--&gt;
                      &lt;!--android:layout_width="match_parent"--&gt;
                      &lt;!--android:layout_height="wrap_content"--&gt;
                      &lt;!--android:textColor="@color/black"/&gt;--&gt;
  
  
                  &lt;/LinearLayout&gt;
                  &lt;!--&lt;/android.support.v4.widget.SwipeRefreshLayout&gt;--&gt;
              &lt;/android.support.v4.widget.NestedScrollView&gt;
          &lt;/android.support.v4.widget.SwipeRefreshLayout&gt;
  
          &lt;android.support.design.widget.FloatingActionButton
              android:id="@+id/btnFAB"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:layout_gravity="bottom|right"
              android:layout_marginBottom="@dimen/codelab_fab_margin_bottom"
              android:layout_marginRight="@dimen/codelab_fab_margin_right"
              android:src="@drawable/ic_plus_blue"
              app:fabSize="normal"&gt;
  
          &lt;/android.support.design.widget.FloatingActionButton&gt;
  
      &lt;/android.support.design.widget.CoordinatorLayout&gt;
  &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p>I would like to have that the linearlayout with the data is below the "textViewAppBar". I have tried to implement a RelativeLayout but it doesn't work. Now, the data is showing to the full layout but I would like to have this below the "textViewAppBar" but the SwipeRefreshLayout shall be match_parent, any suggestions? Thanks :-)</p>