BGAProgressBar-Android

by bingoogolapple

bingoogolapple / BGAProgressBar-Android

带百分比数字的水平、圆形进度条

219 Stars 53 Forks Last release: Not found 14 Commits 1 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

:running:BGAProgressBar-Android:running:

主要功能:

  • [x] Android 系统自带的 ProgressBar 的各种样式
  • [x] 带百分比数字的水平进度条样式
  • [x] 带百分比数字的圆形进度条样式
  • [ ] 彗星进度条样式
  • [ ] 波浪进度条样式

常见问题

1.无法显示进度 - 必须设置「style」为「@android:style/Widget.ProgressBar.Horizontal」

style="@android:style/Widget.ProgressBar.Horizontal"

效果图与示例 apk

bgaprogressbar1 bgaprogressbar2

点击下载 BGAProgressBarDemo.apk 或扫描下面的二维码安装

image

使用

1.添加 Gradle 依赖

Download bga-progressbar 后面的「latestVersion」指的是左边这个 Download 徽章后面的「数字」,请自行替换。请不要再来问我「latestVersion」是什么了

dependencies {
    implementation 'cn.bingoogolapple:bga-progressbar:[email protected]'
}

2.在布局文件中配置 BGAProgressBar


自定义属性说明

    
    
        
        
        
        
        
        
        
        
        
        
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    

详细用法请查看 Demo:feet:

关于我

| 新浪微博 | 个人主页 | 邮箱 | BGA系列开源库QQ群 | ------------ | ------------- | ------------ | ------------ | | bingoogolapple | bingoogolapple.cn | [email protected] | BGA_CODE_CLUB |

打赏支持

如果您觉得 BGA 系列开源库帮你节省了大量的开发时间,请扫描下方的二维码随意打赏,要是能打赏个 10.24 :monkey_face:就太:thumbsup:了。您的支持将鼓励我继续创作:octocat:

如果您目前正打算购买通往墙外的梯子,可以使用我的邀请码「YFQ9Q3B」购买 Lantern,双方都赠送三个月的专业版使用时间:beers:

License

Copyright 2016 bingoogolapple

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.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.