Four Progress Bar Implementation in Android:
- Arc Progress Bar Slider
- Deep Progress Bar
- Ascending Progress Bar
- Stepper Ascending Progress Bar
- Add it in your root build.gradle at the end of repositories:
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
- Add the dependency to app build.gradle
dependencies {
implementation 'com.github.kAvEh--:slider-view:Tag'
}
- Insert
ArcProgressView
widget in your layout.
<com.kaveh.sliderview.ArcProgressView
android:id="@+id/arc_progress"
android:layout_width="200dp"
android:layout_height="80dp"
android:layout_margin="30dp"
android:padding="30dp" />
- Insert
DeepProgressView
widget in your layout.
<com.kaveh.sliderview.DeepProgressView
android:id="@+id/deep_progress"
android:layout_width="200dp"
android:layout_height="80dp"
android:layout_margin="30dp"
android:padding="30dp" />
- Insert
StepperSlider
widget in your layout.
<com.kaveh.sliderview.StepperSlider
android:id="@+id/stepper"
android:layout_width="200dp"
android:layout_height="80dp"
android:layout_margin="30dp"
android:padding="30dp" />
- Set the stepper count for converting it to stepper slider
findViewById<StepperSlider>(R.id.stepper).stepper = 5 //Number of slices in Slider
Android 4.4+ (API 19)
- Kaveh Fazaeli - kaveh.fazaeli@gmail.com
Copyright 2020 kAvEh--
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.