본문 바로가기
Android

Android CircleProgressBar 라이브러리

by kkong93 2022. 4. 12.
반응형

https://github.com/dinuscxj/CircleProgressBar

1. 사용법

Gradle

dependencies {
   compile 'com.dinuscxj:circleprogressbar:1.3.6'
}

xml

<com.dinuscxj.progressbar.CircleProgressBar
                            android:id="@+id/fragment_home_clinic_play_progress"
                            android:layout_width="match_parent"
                            android:layout_height="match_parent"
                            android:indeterminate="false"
                            app:progress_start_color="@color/switch_line"
                            app:progress_end_color="@color/switch_line"
                            app:progress_start_degree="-90"
                            app:progress_stroke_cap="round"
                            app:progress_stroke_width="4dp"
                            app:progress_text_color="@color/colorBlack"
                            app:progress_text_size="13sp"
                            app:style="solid_line" />

 


더 자세한 사용방법은

https://github.com/dinuscxj/CircleProgressBar

반응형

댓글