I used CollapsingToolbarLayout, and I need to make it stretch something like this:

this is my layout:
<android.support.design.widget.CollapsingToolbarLayout android:id="@+id/collapsing_toolbar" android:layout_width="match_parent" android:layout_height="match_parent" android:fitsSystemWindows="true" app:contentScrim="?attr/colorPrimary" app:collapsedTitleGravity="bottom|center_horizontal" app:expandedTitleTextAppearance="@android:color/transparent" app:layout_scrollFlags="scroll|exitUntilCollapsed|snap" app:title="@string/app_name"> <ImageView android:id="@+id/coverIv" android:layout_width="match_parent" android:layout_height="match_parent" android:fitsSystemWindows="true" android:scaleType="fitXY" app:layout_collapseMode="parallax" /> <android.support.v7.widget.Toolbar android:id="@+id/toolbar" android:layout_width="match_parent" android:layout_height="80dp" app:layout_collapseMode="pin" app:popupTheme="@style/ThemeOverlay.AppCompat.Light" /> </android.support.design.widget.CollapsingToolbarLayout> </android.support.design.widget.AppBarLayout>
and I need to stretch the image. is there any way to do this using CollapsingToolbarLayout? or just with a third-party library? I found a way to do this only with a third-party (this) , but it works with ListView, and I have Recyclerview. but anyway I need to work with android.support.design.widget.CollapsingToolbarLayou.
so is there a chance that CollapsingToolbarLayout is supported on something like this? if not, is there a 3rd party who works with the action bar?
thanks for the help
android android-actionbar android-toolbar android-collapsingtoolbar
Yoni
source share