How do I make my Recyclerview
transparent. Not the items in it, but the actual component itself so I can see the view behind it. I tried this:
android:background="@android:color/transparent"
But it doesn't work. If set it to a color (like red or blue) using that attribute it works though...
Try using this:
<android.support.v7.widget.RecyclerView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@null" />
with this, your RecyclerView
's background will be null and you can see the Parent View's background.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With