Skip to content

Commit 2e557fb

Browse files
committed
新增cpvLabelPadding..相关属性
1 parent e2158e4 commit 2e557fb

17 files changed

+104
-721
lines changed

.gitignore

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
*.iml
22
.gradle
33
/local.properties
4-
/.idea/caches/build_file_checksums.ser
5-
/.idea/libraries
6-
/.idea/modules.xml
7-
/.idea/workspace.xml
4+
/.idea
85
.DS_Store
96
/build
107
/captures

.idea/codeStyles/Project.xml

-52
This file was deleted.

.idea/compiler.xml

-8
This file was deleted.

.idea/dbnavigator.xml

-456
This file was deleted.

.idea/encodings.xml

-6
This file was deleted.

.idea/gradle.xml

-19
This file was deleted.

.idea/markdown-navigator.xml

-83
This file was deleted.

.idea/markdown-navigator/profiles_settings.xml

-3
This file was deleted.

.idea/misc.xml

-44
This file was deleted.

.idea/runConfigurations.xml

-12
This file was deleted.

.idea/vcs.xml

-6
This file was deleted.

README.md

+16-6
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# CircleProgressView
22

33
[![Download](https://img.shields.io/badge/download-App-blue.svg)](https://raw.githubusercontent.com/jenly1314/CircleProgressView/master/app/release/app-release.apk)
4-
[![JCenter](https://img.shields.io/badge/JCenter-1.1.0-46C018.svg)](https://bintray.com/beta/#/jenly/maven/circleprogressview)
4+
[![JCenter](https://img.shields.io/badge/JCenter-1.1.1-46C018.svg)](https://bintray.com/beta/#/jenly/maven/circleprogressview)
55
[![JitPack](https://jitpack.io/v/jenly1314/CircleProgressView.svg)](https://jitpack.io/#jenly1314/CircleProgressView)
66
[![CI](https://travis-ci.org/jenly1314/CircleProgressView.svg?branch=master)](https://travis-ci.org/jenly1314/CircleProgressView)
77
[![CircleCI](https://circleci.com/gh/jenly1314/CircleProgressView.svg?style=svg)](https://circleci.com/gh/jenly1314/CircleProgressView)
@@ -12,9 +12,9 @@
1212

1313
CircleProgressView for Android 是一个圆形的进度动画控件,动画效果纵享丝滑。
1414

15-
> **CircleProgressView**不能满足你的需求?
15+
> **CircleProgressView** 不能满足你的需求?
1616
17-
也许你想要的是[ArcSeekBar](https://github.com/jenly1314/ArcSeekBar)
17+
也许你想要的是 [ArcSeekBar](https://github.com/jenly1314/ArcSeekBar)
1818

1919
## Gif 展示
2020
![Image](GIF.gif)
@@ -40,6 +40,11 @@ CircleProgressView for Android 是一个圆形的进度动画控件,动画效
4040
| cpvTickSplitAngle | integer | 5 | 刻度间隔的角度大小 |
4141
| cpvBlockAngle | integer | 1 | 刻度的角度大小 |
4242
| cpvTurn | boolean | false | 是否旋转 |
43+
| cpvCapRound | boolean | true | 是否是圆形线冒(圆角弧度) |
44+
| arcLabelPaddingLeft | dimension |0dp| 文本居左边内间距 |
45+
| arcLabelPaddingTop | dimension |0dp| 文本居顶边内间距 |
46+
| arcLabelPaddingRight | dimension |0dp| 文本居右边内间距 |
47+
| arcLabelPaddingBottom | dimension |0dp| 文本居底边内间距 |
4348

4449

4550
## 引入
@@ -49,18 +54,18 @@ CircleProgressView for Android 是一个圆形的进度动画控件,动画效
4954
<dependency>
5055
<groupId>com.king.view</groupId>
5156
<artifactId>circleprogressview</artifactId>
52-
<version>1.1.0</version>
57+
<version>1.1.1</version>
5358
<type>pom</type>
5459
</dependency>
5560
```
5661
### Gradle:
5762
```gradle
58-
implementation 'com.king.view:circleprogressview:1.1.0'
63+
implementation 'com.king.view:circleprogressview:1.1.1'
5964
```
6065

6166
### Lvy:
6267
```lvy
63-
<dependency org='com.king.view' name='circleprogressview' rev='1.1.0'>
68+
<dependency org='com.king.view' name='circleprogressview' rev='1.1.1'>
6469
<artifact name='$AID' ext='pom'></artifact>
6570
</dependency>
6671
```
@@ -90,13 +95,18 @@ allprojects {
9095
circleProgressView.showAnimation(80,3000);
9196
//设置当前进度
9297
circleProgressView.setProgress(80);
98+
//设置进度改变监听
99+
circleProgressView.setOnChangeListener(onChangeListener);
93100

94101
```
95102

96103
更多使用详情,请查看[app](app)中的源码使用示例
97104

98105
## 版本记录
99106

107+
#### v1.1.1:2020-4-2
108+
* 新增cpvLabelPadding..相关属性
109+
100110
#### v1.1.0:2019-8-19
101111
* 移除appcompat依赖,适配AndroidX
102112

app/release/app-release.apk

856 Bytes
Binary file not shown.

app/release/output.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
[{"outputType":{"type":"APK"},"apkInfo":{"type":"MAIN","splits":[],"versionCode":3,"versionName":"1.1.0","enabled":true,"outputFile":"app-release.apk","fullName":"release","baseName":"release"},"path":"app-release.apk","properties":{}}]
1+
[{"outputType":{"type":"APK"},"apkInfo":{"type":"MAIN","splits":[],"versionCode":4,"versionName":"1.1.1","enabled":true,"outputFile":"app-release.apk","fullName":"release","baseName":"release"},"path":"app-release.apk","properties":{}}]

0 commit comments

Comments
 (0)