Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

conflicts with another tag that has the same ID #34

Open
oluwabajio opened this issue Feb 16, 2022 · 1 comment
Open

conflicts with another tag that has the same ID #34

oluwabajio opened this issue Feb 16, 2022 · 1 comment

Comments

@oluwabajio
Copy link

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}]}

@oluwabajio
Copy link
Author

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>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant