Android-RoundCornerProgressBar
Round Corner Progress Bar Library for Android
Colorful progress bar with round corner on progress which you can customized a color and corner radius.
Demo
Round Corner Progress Bar Demo (Play Store)
Round Corner Progress Bar
A simple round corner progress bar that can change a color of progress and background and a corner radius in dp unit (Very Recommended)
Icon Round Corner Progress Bar
A round corner progress bar with a changeable icon on the left of progress bar
Installation
Maven
<dependency>
<groupId>com.akexorcist</groupId>
<artifactId>RoundCornerProgressBar</artifactId>
<version>2.0.3</version>
</dependency>
Gradle
compile 'com.akexorcist:RoundCornerProgressBar:2.0.3'
Feature
- Customize to your progress and background color, corner radius, padding between inner component
- Easy to use
Usage
Define 'app' namespace on root view in your layout
xmlns:app="http://schemas.android.com/apk/res-auto"
Include this progress bar library in your layout
<com.akexorcist.roundcornerprogressbar.RoundCornerProgressBar
android:layout_width="dimension"
android:layout_height="dimension"
app:rcProgress="float"
app:rcSecondaryProgress="float"
app:rcMax="float"
app:rcRadius="dimension"
app:rcBackgroundPadding="dimension"
app:rcReverse="boolean"
app:rcProgressColor="color"
app:rcSecondaryProgressColor="color"
app:rcBackgroundColor="color" />
<com.akexorcist.roundcornerprogressbar.IconRoundCornerProgressBar
android:layout_width="dimension"
android:layout_height="dimension"
app:rcProgress="float"
app:rcSecondaryProgress="float"
app:rcMax="float"
app:rcRadius="dimension"
app:rcBackgroundPadding="dimension"
app:rcReverse="boolean"
app:rcProgressColor="color"
app:rcSecondaryProgressColor="color"
app:rcBackgroundColor="color"
app:rcIconSrc="integer"
app:rcIconSize="dimension"
app:rcIconWidth="dimension"
app:rcIconHeight="dimension"
app:rcIconPadding="dimension"
app:rcIconPaddingLeft="dimension"
app:rcIconPaddingRight="dimension"
app:rcIconPaddingTop="dimension"
app:rcIconPaddingBottom="dimension"
app:rcIconBackgroundColor="color" />