Skip to content

itgetjob4/circularProgress

Repository files navigation

circularProgress

This library is used to do circular loading with progress, it is best suitable where you want to show some progress with circular loading like while downloading files.This library is written in kotlin and can also be used in java file as well.

Have a look to the demonstration

To include:

implementation 'com.example.circleprog:circleprogress:1.0.0'

How to use:

Simply Define it in your xml file

      <com.example.circleprogress.CircleProgressBar
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:id="@+id/circle_progress"
      app:max="100"
      app:progress="60"
      app:color="@color/color6"
      app:progressBarThickness="80dp"
      app:strokeCap="round" />

Also you can do the modifications in run time, by following functions:

setProgress(progress:Int)
setMax(max:Int)
setColor(color:Int)
setThickness(strWidth:Float)
setRoundCap()
setSquareCap()

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors