Ich habe ein kollabierbaresToolBar Layout.Das Bild in der Tolbar kollabiert und gleitet, aber die Elemente in Recycler Ansicht sind nicht kollabiert, sie bleiben an ihrer Position only.Ich will themto nach oben bewegen und zusammenbrechen.Zusammenklappbare Symbolleiste nicht richtig zusammenfalten, wenn Recycler in ihm anzeigen
<android.support.design.widget.AppBarLayout
android:id="@+id/appbar"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:animateLayoutChanges="true"
>
<android.support.design.widget.CollapsingToolbarLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:id="@+id/collapps_bar"
app:layout_scrollFlags="scroll|exitUntilCollapsed"
>
<View
android:id="@+id/image"
android:layout_width="fill_parent"
android:layout_height="200dp"
app:layout_collapseMode="parallax"
android:background="@android:color/transparent"
/>
<include layout="@layout/toolbar" />
<android.support.v7.widget.RecyclerView
android:layout_width="match_parent"
android:id="@+id/recyClerView"
app:layout_collapseMode="parallax"
android:layout_height="wrap_content"
android:layout_marginTop="100dp"
android:orientation="horizontal" />
</android.support.design.widget.CollapsingToolbarLayout>
</android.support.design.widget.AppBarLayout>
Hallo Stack Learner, hast du die Antwort finden? Wenn nicht, ist es richtig, was ich gesagt habe? Vielen Dank! – Jaco