ExpandableLayout
ExpandableLayout copied to clipboard
conflicts with another tag that has the same ID
Please complete the following information:
- Library Version [e.g. v1.0.0]
- Affected Device(s) [e.g. Samsung Galaxy s10 with Android 9.0]
This is what i am getting in my app
{"msg":"\u003ccom.skydoves.expandablelayout.ExpandableLayout id\u003d\u0027@+id/expandable\u0027\u003e conflicts with another tag that has the same ID","file":"app\src\main\res\layout\fragment_kyc_overview.xml","pos":[{"line0":187,"col0":24,"line1":195,"col1":64}]}
This is my code
<androidx.cardview.widget.CardView android:id="@+id/cdSilver" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginTop="10dp" app:cardCornerRadius="7dp" app:cardElevation="0dp">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/white"
android:gravity="center_vertical"
android:paddingHorizontal="10dp"
android:paddingVertical="20dp">
<com.skydoves.expandablelayout.ExpandableLayout
android:id="@+id/expandableSilver"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:expandable_duration="300"
app:expandable_isExpanded="false"
app:expandable_parentLayout="@layout/layout_kyc_silver_benefits_title"
app:expandable_secondLayout="@layout/layout_kyc_silver_benefits_details"
app:expandable_showSpinner="false" />
</RelativeLayout>
</androidx.cardview.widget.CardView>
<androidx.cardview.widget.CardView
android:id="@+id/cdGold"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="10dp"
app:cardCornerRadius="7dp"
app:cardElevation="0dp">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/white"
android:gravity="center_vertical"
android:paddingHorizontal="10dp"
android:paddingVertical="20dp">
<com.skydoves.expandablelayout.ExpandableLayout
android:id="@+id/expandableGold"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:expandable_duration="300"
app:expandable_isExpanded="false"
app:expandable_parentLayout="@layout/layout_kyc_gold_benefits_title"
app:expandable_secondLayout="@layout/layout_kyc_gold_benefits_details"
app:expandable_showSpinner="false" />
</RelativeLayout>
</androidx.cardview.widget.CardView>