Home

Awesome

Android Circle Progress View

ScreenShot

circleprogress

Including in your project

Using Gradle

Just need to add the following dependency to your build.gradle <br> compile 'com.pihat:circleprogress:0.91'

How to use?

In XML

Attributions
Example
<com.ihat.pihat.circleprogress.CircleProgress
        android:id="@+id/cpv_finance"
        android:layout_width="50dp"
        android:layout_height="50dp"
        app:valueTextSize="13sp"
        app:despTextSize="07sp"
        app:roundProgressColor="@color/colorPrimaryDark"
        app:valueTextColor="@color/colorAccent"
        app:circleStrokeWidth="2dp"/>

In Java

Method
Example
        holder.cpv.setAnimDuration(2000);
        holder.cpv.setInterpolator(new AccelerateDecelerateInterpolator());
        holder.cpv.setSweepValue(value);
        holder.cpv.setValueText(beanList.get(position).getNum() + "万");
        holder.cpv.anim();