Skip to content

MFrancesco/android-circleprogress

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

android-circleprogress

A simple progress indicator on a circle.

Screen

Requirements

  • API 9+

Getting started

Just add the library to your project and add a view like this:

        <com.github.kratorius.circleprogress.CircleProgressView
            android:id="@+id/crc_standard"
            android:layout_width="150dp"
            android:layout_height="150dp"
            android:layout_gravity="center"
            circle:value="75" />

For more examples, check the demo project.

Available view properties

  • thickness: controls the thickness of the circle
  • color: the color of the circle
  • value: the "progress" (in the 0-100 range)
  • startAngle: starting angle
  • text: optional text inside the circle
  • textColor: above text's color
  • textSize: above text's size
  • startAnimation: one of none, roll, fadeIn, incremental, thicknessExpand.

Analytics

About

Simple percentage view for Android

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 91.0%
  • Groovy 9.0%