tommybuonomo / dotsindicator

Three material Dots Indicators for view pagers in Android !
Apache License 2.0
3.49k stars 356 forks source link

Attributes not found #200

Closed Sarat-1997 closed 2 days ago

Sarat-1997 commented 1 month ago

@tommybuonomo I had upgraded compilesdk version to 34 and added implementation 'com.tbuonomo:dotsindicator:5.0' in build.gradle(app), still corner radius not found occurs. The following xml file code below:

<com.tbuonomo.viewpagerdotsindicator.DotsIndicator android:id="@+id/dots_indicator" android:layout_width="wrap_content" android:layout_height="0dp" app:dotsColor="@color/colorAccent" app:dotsCornerRadius="8dp" app:dotsSize="16dp" app:dotsSpacing="4dp" app:dotsWidthFactor="2.5" app:selectedDotColor="https://github.com/android:color/holo_red_dark" app:progressMode="true" android:layout_marginStart="8dp" app:layout_constraintStart_toStartOf="parent" android:layout_marginLeft="8dp" android:layout_marginEnd="8dp" app:layout_constraintEnd_toEndOf="parent" android:layout_marginRight="8dp" android:layout_marginBottom="16dp" app:layout_constraintBottom_toBottomOf="parent"/>

    All the elements are present here but how cornerradius not found occur? Kindly reply ASAP.
Akshayck-dev commented 1 month ago

same issue @tommybuonomo please respond

tommybuonomo commented 2 days ago

Hey, could you please try with latest version 5.1.0?

Akshayck-dev commented 2 days ago

image @tommybuonomo @Sarat-1997 see the attached image

tommybuonomo commented 2 days ago

@Akshayck-dev you are using the wrong library import: com.tbuonomo.dotsindicator:5.1.0