I found this animated circle bar and I want to add it to my project.
The problem is, I don't know where to add it and how to get it in my project.
I tried to add
<com.github.jlmd.animatedcircleloadingview.AnimatedCircleLoadingView
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/circle_loading_view"
android:layout_width="250dp"
android:layout_height="250dp"
android:background="@colors/orange"
android:layout_centerInParent="true"
app:mainColor="@colors/orange"
app:secondaryColor="@colors/blue"
/>
on my activity_main.xml but I guess it's not the only thing I have to do.
Any informations about how to use this code in my project will be appreciated.
If I import it to Eclipse I recieve this
Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'. styles.xml /MainActivity/res/values line 4 Android AAPT Problem