yuyakaido / CardStackView

📱Tinder like swipeable card view for Android
Apache License 2.0
2.37k stars 448 forks source link

Can't get overlays to work/show #383

Open ManuS86 opened 2 weeks ago

ManuS86 commented 2 weeks ago

Hey anyone else had any issues with implementing overlays for like/dislike on swipe? The way I understood the very sparse instructions I added the fragments as shown in the documentation into my item as 2 topmost layers and added an imageResource to each and properly resized and place them within the framelayout from the overlay and set their alpha to 0.5. is there anything else i need to do in the code to make them work and if so what? I cant figure out what i am doing wrong. thanks in advance if anyone can help.

edit figured it out with help of AI eventually.