Skip to content

ivgiuliani/android-circleprogress

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 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
    xmlns:circleProgress="http://schemas.android.com/apk/res-auto"
    android:id="@+id/crc_standard"
    android:layout_width="150dp"
    android:layout_height="150dp"
    android:layout_gravity="center"
    circleProgress:circleProgressValue="75" />

For more examples, check the demo project.

Available view properties

  • circleProgressThickness: controls the thickness of the circle
  • circleProgressColor: the color of the circle
  • circleProgressValue: the "progress" (in the 0-100 range)
  • circleProgressStartAngle: starting angle
  • circleProgressText: optional text inside the circle
  • circleProgressTextColor: above text's color
  • circleProgressTextSize: above text's size
  • circleProgressStartAnimation: one of none, roll, fadeIn, incremental, thicknessExpand.

About

Simple percentage view for Android

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages