斜度进度条
...
allprojects {
repositories {
...
maven(){url 'https://jitpack.io'}
}
}
...
dependencies {
implementation 'com.github.obelieve:ProgressView:1.0.0'
}
<com.obelieve.progressview.LeanProgressView
android:id="@+id/lpv_content"
android:layout_width="match_parent"
android:layout_height="wrap_content"/>
app:leftProgress="50" //左边进度
app:rightProgress="50"//右边进度
app:leftRightGap="10dp"//中间空白间距
app:leftProgressColor="#FF5252" //左边进度条颜色
app:rightProgressColor="#308BFE"//右边进度条颜色