# CircleProgress **Repository Path**: mirrors_lzyzsd/CircleProgress ## Basic Information - **Project Name**: CircleProgress - **Description**: CircleProgress, DonutProgress, ArcProgress - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-01-06 - **Last Updated**: 2026-10-18 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README [![Android Arsenal](https://img.shields.io/badge/Android+Arsenal-CircleProgress-brightgreen.svg?style=flat)](https://android-arsenal.com/details/1/1130) [![](https://jitpack.io/v/happydog-intj/CircleProgress.svg)](https://jitpack.io/#happydog-intj/CircleProgress) inspired from [https://github.com/daimajia/NumberProgressBar](https://github.com/daimajia/NumberProgressBar) and CleanMaster ![CleanMaster](http://i.stack.imgur.com/sZP5t.png) ### Demo ![CircleProgress](demos/circle_progress.png) ### Demo download [link](https://raw.githubusercontent.com/lzyzsd/CircleProgress/master/demos/example.apk) ### 3 kinds of progress view are provided, DonutProgress (supports inner drawables and VectorDrawables), CircleProgress, ArcProgress ## Usage Add JitPack repository to your root `settings.gradle`: ```groovy dependencyResolutionManagement { repositories { google() mavenCentral() maven { url 'https://jitpack.io' } } } ``` ### Gradle ```groovy dependencies { implementation 'com.github.happydog-intj:CircleProgress:v2.0.0' } ``` ### Notice please always use same width and height for progress views DonutProgress ```xml ``` ```xml ``` ![DonutProgress](demos/donutprogress_demo.png) attrs for DonutProgress ```xml ``` CircleProgress ```xml ``` ![CircleProgress](demos/circleprogress_demo.png) attrs for CircleProgress ```xml ``` ArcProgress ```xml ``` ![ArcProgress](demos/arcprogress_demo.png) attrs for ArchProgress ```xml ``` donut_inner_drawable support add a drawable/vectorDrawable to the center donut_show_text show or hide bottom text ### Build run `./gradlew assembleDebug` (Mac/Linux) or run `gradlew.bat assembleDebug` (Windows) ### Changes version 2.0.0: - Migrate to AndroidX (minSdk raised to 21) - Upgrade to AGP 8.x / Gradle 8.x / compileSdk 35 - Replace ArcProgress busy-loop animation with ValueAnimator - Change CircleProgress progress type from int to float - Add accessibility support (screen reader) to all views - Fix Paint object recreation on every invalidate - Move DonutProgress RectF calculation from onDraw to onSizeChanged - Fix duplicate attribute reads and wrong Bundle type in DonutProgress - Publish via JitPack (maven-publish) version 1.1.0: add bottom text to DonutProgressView DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE Version 2, December 2004 Copyright (C) 2014 Bruce Lee Everyone is permitted to copy and distribute verbatim or modified copies of this license document, and changing it is allowed as long as the name is changed. DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. You just DO WHAT THE FUCK YOU WANT TO.