dependencyResolutionManagement { repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) repositories { google() mavenCentral() maven { url = uri("https://jitpack.io") } } }
implementation("com.github.dips25:CircularProgress:v1.1")
<com.anim.circleanim.MyAnim android:layout_width="wrap_content" android:layout_height="wrap_content" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" custom:startColor="@android:color/holo_red_dark" custom:secondColor="@android:color/holo_blue_dark" custom:thirdColor="@android:color/holo_green_dark" custom:fourthColor="@android:color/holo_orange_dark" custom:full="true" custom:rotate="true" custom:duration="700" custom:clrbackground="@android:color/darker_gray" android:id="@+id/my_anim"/>