Scroll second child in AppBarLayout : <p>I'm trying to obtain this effect where if the user scroll a <code>RecyclerView</code> a certain layout scroll up together with the recycler and disappear behind a <code>Toolbar</code>.</p>

<p>A similar behavior could be obtained using the <code>CoordinatorLayout</code>, this would be possible by setting</p>

<pre><code>app:layout_behavior="@string/appbar_scrolling_view_behavior"
</code></pre>

<p>on the said Recycler, and doing</p>

<pre><code>&lt;android.support.design.widget.AppBarLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"&gt;

    &lt;android.support.v7.widget.Toolbar
        android:layout_width="match_parent"
        android:layout_height="?attr/actionBarSize"
        app:layout_scrollFlags="scroll|enterAlways"/&gt;

&lt;/android.support.design.widget.AppBarLayout&gt;
</code></pre>

<p>Also, If I put a second child inside the <code>AppBarLayout</code>, and set <code>app:layout_scrollFlags</code> to it, the effect obtained is the same, with both layout scrolling together with the Recycler.</p>

<p>What I'm trying to achieve is to keep the first child (The toolbar) fixed in position, and let the second child (a <code>LinearLayout</code>) to scroll and hide behind the toolbar. Unfortunately I couldn't get to this behavior.</p>

<p>Is it possible without using 3rd part library?
Thanks in advance and sorry for my english.</p>
