A pie shaped progress bar extension for Android.
Java Groovy
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.idea
Progress Pie
Sample
gradle/wrapper
.gitignore
ProgressPie.iml
README.md
build.gradle
gradle.properties
gradlew
gradlew.bat
settings.gradle

README.md

Android-ProgressPie

A progress bar extension for Android.

ProgressPie

void setForegroundColor(int color) Used to set the foreground color of the pie.

example:

setForegroundColor(getResource.getColor(R.color.red));

void setBackgroundColor(int color) Used to set the background color of the pie.

example:

setBackgroundColor(getResource.getColor(R.color.blue));

To use in XML layout: The only custom attributes so far are: PIE_foreground_color, PIE_background_color

example:

<com.tommeng.progresspie.ProgressPie
        android:id="@+id/progress_pie"
        android:layout_width="150dip"
        android:layout_height="150dip"
        android:layout_gravity="center"
        app:PIE_foreground_color="@color/android_color_orange_dark"
        app:PIE_background_color="@color/android_color_blue_light"/>