Skip to content

Android的增强版`ProgressBar`,带数字的水平滚动条(支持长方形、平行四边形及椭圆角矩形)。

License

Notifications You must be signed in to change notification settings

gzu-liyujiang/EnhancedProgressBar

Repository files navigation

EnhancedProgressBar

Release APK Gradle Package

Android的增强版android.widget.ProgressBar,带数字的水平滚动条(支持长方形、平行四边形及椭圆角矩形),继承自android.widget.ProgressBar,因此用法和ProgressBar完全一样。

最新版本

jitpack

allprojects {
    repositories {
        maven { url 'https://www.jitpack.io' }
    }
}
dependencies {
    implementation 'com.github.gzu-liyujiang:EnhancedProgressBar:<version>'
}

效果预览

效果图

<com.github.gzuliyujiang.progressbar.EnhancedProgressBar
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:layout_margin="10dp"
    android:progress="50"
    android:visibility="visible"
    app:lyj_cut_corner="parallelogram"
    app:lyj_reached_color="#00FBD0"
    app:lyj_reached_height="10dp"
    app:lyj_text_align="top"
    app:lyj_text_bold="true"
    app:lyj_text_color="#00FBD0"
    app:lyj_text_offset="4dp"
    app:lyj_text_size="12sp"
    app:lyj_text_visible="true"
    app:lyj_unreached_color="#E5E5E5"
    app:lyj_unreached_height="8dp" />

许可协议

Copyright (c) 2016-present 贵州纳雍穿青人李裕江<1032694760@qq.com>

The software is licensed under the Mulan PSL v2.
You can use this software according to the terms and conditions of the Mulan PSL v2.
You may obtain a copy of Mulan PSL v2 at:
    http://license.coscl.org.cn/MulanPSL2
THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
PURPOSE.
See the Mulan PSL v2 for more detail

About

Android的增强版`ProgressBar`,带数字的水平滚动条(支持长方形、平行四边形及椭圆角矩形)。

Resources

License

Stars

Watchers

Forks

Sponsor this project