android - Make view clickable underneath recyclerview -


i trying achieve similar google play store app


enter image description here




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.

enter image description here


Comments

Popular posts from this blog

how to insert data php javascript mysql with multiple array session 2 -

multithreading - Exception in Application constructor -

windows - CertCreateCertificateContext returns CRYPT_E_ASN1_BADTAG / 8009310b -