yuyakaido / CardStackView

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

When i drag a card others views around the cardstacklayout cover the animation #356

Closed rafaelzagha closed 2 years ago

rafaelzagha commented 2 years ago

When i drag a card the animation only stays inside the CardstackView itself, and other views around it overlap it.

Heres my code for the fragment:

<?xml version="1.0" `encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:background="#fff"
    tools:context=".HomeFragment"
    tools:ignore="HardcodedText,ContentDescription,Autofill">

    <com.yuyakaido.android.cardstackview.CardStackView
        android:id="@+id/csv"
        android:layout_width="match_parent"
        android:layout_height="450dp"
        android:layout_centerInParent="true"
        android:layout_marginTop="20dp"/>

</RelativeLayout>

Android Emulator - Pixel_5_API_30_5554 2021-12-14 21-20-11