# Ohos-PercentProgressBar-lib
**Repository Path**: chinasoft5_ohos/Ohos-PercentProgressBar-lib
## Basic Information
- **Project Name**: Ohos-PercentProgressBar-lib
- **Description**: 自定义View之百分比圆形进度条和百分比直线进度条
- **Primary Language**: Java
- **License**: Not specified
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2021-07-17
- **Last Updated**: 2021-09-23
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# Ohos-PercentProgressBar-lib
#### 项目介绍
- 项目名称:Ohos-PercentProgressBar-lib
- 所属系列:openharmony 第三方组件适配移植
- 功能:自定义View之百分比圆形进度条和百分比直线进度条
- 项目移植状态:功能完成
- 调用差异:无
- 开发版本:sdk6,DevEco Studio 2.2 Beta2
- 基线版本:master分支
#### 效果演示

#### 安装教程
在moudle级别下的build.gradle文件中添加依赖,在dependencies标签中增加对libs目录下jar包的引用
```
// 添加maven仓库
repositories {
maven {
url 'https://s01.oss.sonatype.org/content/repositories/releases/'
}
}
// 添加依赖库
dependencies {
implementation 'com.gitee.chinasoft_ohos:ohos-PercentProgressBar:1.0.0'
}
```
在sdk6,DevEco Studio2.2 Beta2下项目可直接运行
如无法运行,删除项目.gradle,.idea,build,gradle,build.gradle文件,
并依据自己的版本创建新项目,将新项目的对应文件复制到根目录下
#### 使用说明
```xml
```
自定义样式属性
* **background_stroke_width** 背景进度条宽度
* **background_color** 背景进度条颜色
* **progress** 进度
* **progress_color** 进度颜色
* **stroke_width** 进度条宽度
* **text_color** 百分比文字颜色
* **text_size** 百分比文字大小
#### 测试信息
CodeCheck代码测试无异常
CloudTest代码测试无异常
病毒安全检测通过
当前版本demo功能与原组件基本无差异
#### 版本迭代
- 1.0.0
#### 版权和许可信息
Android-PercentProgressBar
Copyright (c) 2015 Natasa Misic
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
See .