React Native overlapping views with elevation not work

1.3k views Asked by At

Card elevation with overlapping button

I want to show button above card with elevation, but my problem is button goes behind card. If I remove elevation of card then button shows above card. I want both button above card and card with elevation. How can I achieve this?

Currently I put button below card and give minus marginTop to button, It's working without card elevation but not with elevation.

Note: I tried absolute position and zIndex both but not worked.

0

There are 0 answers