step1. Add it in your root build.gradle at the end of repositories:
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
step2. Add the dependency
dependencies {
compile 'com.github.yanjiabin:ExtendsRingPrigressBar:1.1.1'
}
in your xml <com.github.yanjiabin.extendsringprogressbarlib.RingProgressBar android:layout_gravity="center" android:id="@+id/progress_bar_1" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerInParent="true" android:layout_alignParentTop="true" app:max="100" 最大进度 app:ringColor="@color/colorPrimary" 圆环的颜色 app:ringProgressColor="@color/colorPrimaryDark" 进度条的颜色 app:ringWidth="3dp" 圆环的宽度 app:style="FILL" 填充状态和描边状态 还有一种是STROKE app:textColor="@color/colorPrimary" 显示文本的颜色 app:textIsShow="true" 是否显示文本 app:textSize="16sp" />
机械节能产品生产企业官网模板...
大气智能家居家具装修装饰类企业通用网站模板...
礼品公司网站模板
宽屏简约大气婚纱摄影影楼模板...
蓝白WAP手机综合医院类整站源码(独立后台)...苏ICP备2024110244号-2 苏公网安备32050702011978号 增值电信业务经营许可证编号:苏B2-20251499 | Copyright 2018 - 2025 源码网商城 (www.ymwmall.com) 版权所有