(Biblioteca de suporte de design) CollapsingToolbarLayout - A barra de ferramentas não é fixada no recolhimento

Estou com problemas para integrar a Biblioteca de Suporte de Design ao meu aplicativo. Por alguma razão, a barra de ferramentas entra em colapso com o CollapsingToolbarLayout e não a deixa fixada como no exemplo do Cheesesquare de Chris Banes.https://github.com/chrisbanes/cheesesquare

Não fiz nada de diferente no meu layout. Na verdade, substituí meus estilos pelos dele e caí no layout dele. Gostaria de saber se usando a barra de ferramentas, em vez de android.support.v7.widget.Toolbar está causando isso.

Aqui está o problema.

Aqui está o meu XML da seção AppBar.

<android.support.design.widget.CoordinatorLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:id="@+id/main_content"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:fitsSystemWindows="true">


    <android.support.design.widget.AppBarLayout
        android:id="@+id/appbar"
        android:layout_width="match_parent"
        android:layout_height="@dimen/detail_backdrop_height"
        android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"
        android:fitsSystemWindows="true">

        <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"
            android:fitsSystemWindows="true"
            app:contentScrim="?attr/colorPrimary"
            app:expandedTitleMarginStart="48dp"
            app:expandedTitleMarginEnd="64dp">

            <ImageView
                android:id="@+id/backdrop"
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:fitsSystemWindows="true"
                app:layout_collapseMode="parallax" />

            <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" />

        </android.support.design.widget.CollapsingToolbarLayout>

    </android.support.design.widget.AppBarLayout>

    ...

</android.support.design.widget.CoordinatorLayout>

questionAnswers(3)

yourAnswerToTheQuestion