7

How can I allow the children of my RecyclerView to draw on each other like children of a ViewGroup normally do with clipChildren="false"?

I use CardViews in my RecyclerView and I want the shadow of one CardView to cover the CardView below.

Quality Catalyst
  • 6,531
  • 8
  • 38
  • 62
Jagmit
  • 163
  • 2
  • 8

1 Answers1

6

you can try this

<android.support.v7.widget.RecyclerView
    ...
    android:clipChildren="false"
    android:clipToPadding="false"/>
mengxn
  • 309
  • 5
  • 8