title: Collapsing Toolbar and DrawerLayout
body: <p>I created a layout with parallax effect which I use in a fragment.</p>
  
  <pre><code>&lt;android.support.design.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;android.support.design.widget.AppBarLayout
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          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="wrap_content"
              app:contentScrim="?attr/colorPrimary"
              app:layout_scrollFlags="scroll|exitUntilCollapsed"&gt;
  
              &lt;ImageView
                  android:id="@+id/collapsingImageView"
                  android:layout_width="match_parent"
                  android:layout_height="wrap_content"
                  android:adjustViewBounds="true"
                  android:scaleType="fitXY"
                  android:src="@drawable/baner_1"
                  app:layout_collapseMode="parallax" /&gt;
  
              &lt;android.support.v7.widget.Toolbar
                  android:id="@+id/toolbar"
                  android:layout_width="match_parent"
                  android:layout_height="?attr/actionBarSize"
                  app:layout_collapseMode="pin" /&gt;   
          &lt;/android.support.design.widget.CollapsingToolbarLayout&gt;
  
      &lt;/android.support.design.widget.AppBarLayout&gt;
  
      &lt;android.support.v4.widget.NestedScrollView
          android:layout_width="match_parent"
          android:layout_height="match_parent"
          app:layout_behavior="@string/appbar_scrolling_view_behavior"&gt;
  
          &lt;!--OTHER SCROLABLE STUFF--&gt; 
  
      &lt;/android.support.v4.widget.NestedScrollView&gt;
  
  &lt;/android.support.design.widget.CoordinatorLayout&gt;
  </code></pre>
  
  <p>It works fine as long as Fragment is inflated in the root of Activity (into container_main).<br>
  So Activity's layout looks like this: </p>
  
  <pre><code>&lt;FrameLayout
      xmlns:android="http://schemas.android.com/apk/res/android"
      android:id="@+id/container_main"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      &gt;
  &lt;/FrameLayout&gt;
  </code></pre>
  
  <p>Now I want to add a DrawerLayout into my Activity and here is where I stuck.<br>
  I changed layout of the Activity by adding a DrawerLayout.<br>
  Then inflating the Fragment mentioned above into the same <code>container_main</code>, but neither parallax nor <code>NestedScrollView</code> work anymore.</p>
  
  <pre><code>&lt;android.support.v4.widget.DrawerLayout
      xmlns:android="http://schemas.android.com/apk/res/android"
      android:id="@+id/drawerLayout"
      android:layout_width="match_parent"
      android:layout_height="match_parent"&gt;
  
      &lt;FrameLayout
          android:id="@+id/container_main"
          android:layout_width="match_parent"
          android:layout_height="match_parent"
          xmlns:android="http://schemas.android.com/apk/res/android"&gt;
      &lt;/FrameLayout&gt;
  
      &lt;ListView
          android:id="@+id/drawerListView"
          android:layout_width="@dimen/drawer_width"
          android:layout_height="match_parent"
          /&gt;
  &lt;/android.support.v4.widget.DrawerLayout&gt;
  </code></pre>
  
  <p>Where is the trick and ho to use DrawerLayout with using of collapsing toolbar?</p>