android - Make view clickable underneath recyclerview -
i trying achieve similar google play store app

for got
<framelayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent"> <imageview android:id="@+id/image" android:layout_width="match_parent" android:layout_height="200dp" /> <android.support.v7.widget.recyclerview android:id="@+id/recyclerview" android:layout_width="match_parent" android:layout_height="match_parent" android:cliptopadding="false" android:paddingtop="200dp" /> </framelayout> looks great since recyclerview overlapping imageview, it's not clickable anymore. looking solution.
you can make use of scrolling activity template in android studio has similar behaviour want do. , put imageview in appbarlayout , handle click events other view.
this won't give exact behaviour of google play app if it's eases way it. if want exact behaviour know open source library let me know if want , search it.

Comments
Post a Comment