# ProgressBar **Repository Path**: caizha/ProgressBar ## Basic Information - **Project Name**: ProgressBar - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-01-09 - **Last Updated**: 2025-01-09 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # ProgressBar ![last commit](https://img.shields.io/github/last-commit/imcloudfloating/ProgressBar) ![stars](https://img.shields.io/github/stars/imcloudfloating/ProgressBar) ![forks](https://img.shields.io/github/forks/imcloudfloating/ProgressBar) ![license](https://img.shields.io/github/license/imcloudfloating/ProgressBar) ### Contains CircleProgressBar and ProgressButton. Cirlce ProgressBar|Progress Button| ------------------|---------------| ![Circle ProgressBar](https://github.com/imcloudfloating/Images/blob/master/circle_progress_bar.gif?raw=true)|![Progress Button](https://github.com/imcloudfloating/Images/blob/master/progress_button.gif?raw=true) ## Gradle: Add it in your root build.gradle at the end of repositories: ```gradle allprojects { repositories { ... maven { url 'https://jitpack.io' } } } ``` Add the dependency ```gradle dependencies { implementation 'com.github.imcloudfloating:ProgressBar:1.1' } ``` ## Use Cirlce ProgressBar ```xml ``` If you want a fanshaped progress bar, let progressWidth >= min(layout_width, layout_height) ```java cirlceProgressBar.setMinProgress(-100) //minProgress can be negative, default is 0 circleProgressBar.setMaxProgress(100) //default value is 100 circleProgressBar.setProgress(20) ``` ## Use Progress Button ```xml ``` ```java cirlceProgressBar.setMinProgress(-100) //minProgress can be negative, default is 0 circleProgressBar.setMaxProgress(100) //default value is 100 circleProgressBar.setProgress(20) ```