A Custom View With Circular Progress | Segmented & Continuous |
Add the dependency to your app build.gradle file:
implementation "io.github.rezaiyan:levelprogressbar:1.0.3"
Add LevelProgressBar
:
<ir.alirezaiyan.progressbar.LevelProgressBar
android:id="@+id/p1"
android:layout_width="250dp"
android:layout_height="250dp"
android:layout_centerHorizontal="true"
android:layout_marginTop="20dp"
app:spb_background_color="@color/colorAccent"
app:spb_is_enable="true"
app:spb_is_step_progress="true"
app:spb_level="level6"
app:spb_stroke_with="10"
app:spb_src="@drawable/ic_level"
app:spb_text_level_color="#fff"
app:spb_text_title_color="#040504"
app:spb_unprogress_color="#E6E6E6"/>
Copyright 2020 alirezaiyann@gmail.com
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.