Description
CircleProgressBar is a circular progress with animation and color.
CircleProgressBarAndroid alternatives and similar packages
Based on the "ActionBar Widget" category.
Alternatively, view CircleProgressBarAndroid alternatives based on common mentions on social networks and blogs.
-
ActionBarSherlock
DISCONTINUED. Action bar implementation which uses the native action bar on Android 4.0+ and a custom implementation on pre-4.0 through a single API and theme. -
FadingActionBar
Android library implementing a fading effect for the action bar, similar to the one found in the Play Music app -
TabBarView
An Android Library to help you create actionbar tabs like "Capitaine train" app by Cyril Mottier -
android-extendedactionbar
An example of how to extend the ActionBar under the status bar from the theme -
CartCounter
๐ Add a cart icon with item counter to the Toolbar. You can increment the counter based on the number of unique items the user has in the shopping cart. -
Google Assistant App Actions on Android
App Actions let users launch specific features in your app using Google Assistant. By enabling App Actions to extend your app, users can easily deep link into your apps via Assistant by simply speaking a request to the Assistant.
SaaSHub - Software Alternatives and Reviews
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of CircleProgressBarAndroid or a related project?
README
CircleProgressBar
Use the CircleProgressBar as a progress in your Android Application.
Usage
Step 1
Add it in your root build.gradle at the end of repositories
allprojects {
repositories {
maven { url 'https://jitpack.io' }
}
}
Step 2
Add the dependency
dependencies {
implementation 'com.github.Paulimjr:CircleProgressBar:1.0'
}
Adding in your layout XML
<com.pcamilojr.circleprogressbar.CircleProgressBar
android:id="@+id/progress_circular"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent"
android:layout_width="150dp"
android:layout_height="150dp"
app:progress="0"
app:strokeWidth="9"
app:progressColor="@color/colorAccent"/>
- Use
setProgressAnimation (float, int)
method to start the circle progress. - Use
runProgress (interface)
method to set the callback of the circle progress.
override fun onResume() {
super.onResume()
progress_circular.setProgressAnimation(40f,2000)
progress_circular.runProgress(progressListener)
}
private val progressListener = object : CircleProgressBar.CircleProgressBarCallback {
override fun onProgressEnd() {
//TODO do something...
}
override fun onProgressValue(progress: String, textColor: Int) {
//TODO do something...
}
}
Callback
Callback of the CircleProgressBar
/**
* Get the current value of the progress and color
*
* @param progress the current value of the progress Ex: 30%
* @param textColor the color of the progress
*/
fun onProgressValue(progress: String, textColor: Int)
/**
* Callback when the progress is finished
*/
fun onProgressEnd()
Customization in CircleProgressBar XML
Attribute | Type | Description | Default |
---|---|---|---|
progress | int | The progress of circle | 0 |
progressColor | int | The color of the circle | Color.GRAY |
strokeWidth | int | The stroke width of the circle | 8 |
License
Copyright 2015 Paulo Cesar
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*Note that all licence references and agreements mentioned in the CircleProgressBarAndroid README section above
are relevant to that project's source code only.