TopGit tracks castorflex/SmoothProgressBar on GitHub. The project has 4.5k stars. A small Android library allowing you to have a smooth and customizable horizontal or circular indeterminate ProgressBar
Snapshot summary built from the project's own GitHub metadata — there's no written TopGit review yet. The page will update automatically when a full review is published.
WHY NO REVIEW YET
TopGit writes full reviews for the most-starred, most-requested repositories. This page is a snapshot until then — see the READ ME tab for the original README in full.
Small library allowing you to make a smooth indeterminate progress bar. You can either user your progress bars and set this drawable or use directly the SmoothProgressBarView.
Demo:
Sample app available on the Play Store
How does it work
I wrote a blog post about that.
Integration
SmoothProgressBar (min API 7):
CircularProgressBar (min API 14):
The lib is now on Maven Central. All you have to do is add it on your gradle build:
dependencies {
// of course, do not write x.x.x but the version number
implementation 'com.github.castorflex.smoothprogressbar:library:x.x.x'
// or
implementation 'com.github.castorflex.smoothprogressbar:library-circular:x.x.x'
}
You can find the last stable version on Gradle Please
Or instantiate a SmoothProgressDrawable/CircularProgressDrawable and set it to your ProgressBar
mProgressBar.setIndeterminateDrawable(new SmoothProgressDrawable.Builder(context)
.color(0xff0000)
.interpolator(new DecelerateInterpolator())
.sectionsCount(4)
.separatorLength(8) //You should use Resources#getDimensionPixelSize
.strokeWidth(8f) //You should use Resources#getDimension
.speed(2f) //2 times faster
.progressiveStartSpeed(2)
.progressiveStopSpeed(3.4f)
.reversed(false)
.mirrorMode(false)
.progressiveStart(true)
.progressiveStopEndedListener(mListener) //called when the stop animation is over
.build());
mProgressBar.setIndeterminateDrawable(new CircularProgressDrawable
.Builder(this)
.colors(getResources().getIntArray(R.array.gplus_colors))
.sweepSpeed(1f)
.strokeWidth(mStrokeWidth)
.style(CircularProgressDrawable.Style.ROUNDED)
[ ... ]
.build();
You can also set many colors for one bar (see G+ app)
via xml (use the app:spb_colors attribute with a integer-array reference for that)
Copyright 2014 Antoine Merle
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.
Does castorflex/SmoothProgressBar have a project website?
No homepage URL was recorded for castorflex/SmoothProgressBar in TopGit's last sync. The README tab above frequently contains screenshots and demo links, or check the repository description on GitHub.
Is castorflex/SmoothProgressBar open source?
Yes — castorflex/SmoothProgressBar ships under the Apache-2.0 license, which makes its source code freely readable (and, depending on license terms, forkable and reusable). Source: github.com/castorflex/SmoothProgressBar.
What is castorflex/SmoothProgressBar?
castorflex/SmoothProgressBar (castorflex/SmoothProgressBar) is a Java project on GitHub. From the project's own README: A small Android library allowing you to have a smooth and customizable horizontal or circular indeterminate ProgressBar
What license does castorflex/SmoothProgressBar use?
castorflex/SmoothProgressBar is released under the Apache-2.0 license. Always verify the LICENSE file directly on GitHub for the authoritative terms — license strings can be edited out of sync with a project's actual stance.
Where do I read more about castorflex/SmoothProgressBar?
This TopGit page is a snapshot — the READ ME tab shows the project's own README content (links stripped, images preserved). The GitHub repository at github.com/castorflex/SmoothProgressBar is the definitive source.
Read full README in the tab above.
Is SmoothProgressBar worth your time?
ChatGPT, Claude and Perplexity can all read this page. Ask one of them what it makes of SmoothProgressBar.