-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
42 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,8 +8,6 @@ | |
[![CircleCI](https://circleci.com/gh/jenly1314/ArcSeekBar.svg?style=svg)](https://circleci.com/gh/jenly1314/ArcSeekBar) | ||
[![API](https://img.shields.io/badge/API-16%2B-blue.svg?style=flat)](https://android-arsenal.com/api?level=16) | ||
[![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://opensource.org/licenses/mit-license.php) | ||
[![Blog](https://img.shields.io/badge/blog-Jenly-9933CC.svg)](https://jenly1314.github.io/) | ||
[![QQGroup](https://img.shields.io/badge/QQGroup-20867961-blue.svg)](http://shang.qq.com/wpa/qunwpa?idkey=8fcc6a2f88552ea44b1411582c94fd124f7bb3ec227e2a400dbbfaad3dc2f5ad) | ||
|
||
ArcSeekBar for Android 是一个弧形的拖动条进度控件,配置参数完全可定制化。 | ||
|
||
|
@@ -22,8 +20,28 @@ ArcSeekBar for Android 是一个弧形的拖动条进度控件,配置参数完 | |
## Gif 展示 | ||
![Image](GIF.gif) | ||
|
||
> 你也可以直接下载 [演示App](https://raw.githubusercontent.com/jenly1314/ArcSeekBar/master/app/release/app-release.apk) 体验效果 | ||
## ArcSeekBar自定义属性说明(进度默认渐变色) | ||
## 引入 | ||
|
||
### Gradle: | ||
1. 在Project的 **build.gradle** 或 **setting.gradle** 中添加远程仓库 | ||
|
||
```gradle | ||
repositories { | ||
//... | ||
mavenCentral() | ||
} | ||
``` | ||
2. 在Module的 **build.gradle** 里面添加引入依赖项 | ||
```gradle | ||
implementation 'com.github.jenly1314:arcseekbar:1.0.3' | ||
``` | ||
|
||
## 使用 | ||
|
||
### ArcSeekBar自定义属性说明(进度默认渐变色) | ||
| 属性 | 值类型 | 默认值 | 说明 | | ||
| :------| :------ | :------ | :------ | | ||
| arcStrokeWidth | dimension |12dp| 画笔描边的宽度 | | ||
|
@@ -58,35 +76,8 @@ ArcSeekBar for Android 是一个弧形的拖动条进度控件,配置参数完 | |
| arcEnabledDrag | boolean | true | 是否启用通过拖动改变进度 | | ||
| arcEnabledSingle | boolean | true | 是否启用通过点击改变进度 | | ||
|
||
## 引入 | ||
|
||
### Gradle: | ||
|
||
1. 在Project的 **build.gradle** 里面添加远程仓库 | ||
|
||
```gradle | ||
allprojects { | ||
repositories { | ||
//... | ||
mavenCentral() | ||
} | ||
} | ||
``` | ||
|
||
2. 在Module的 **build.gradle** 里面添加引入依赖项 | ||
```gradle | ||
implementation 'com.github.jenly1314:arcseekbar:1.0.3' | ||
``` | ||
|
||
|
||
以前发布至JCenter的版本 | ||
```gradle | ||
implementation 'com.king.view:arcseekbar:1.0.2' | ||
``` | ||
|
||
|
||
## 示例 | ||
### 示例 | ||
|
||
布局示例 | ||
```Xml | ||
|
@@ -106,8 +97,11 @@ implementation 'com.king.view:arcseekbar:1.0.2' | |
arcSeekBar.showAnimation(80,3000); | ||
|
||
``` | ||
更多使用详情,请查看[app](app)中的源码使用示例或直接查看 [API帮助文档](https://jitpack.io/com/github/jenly1314/ArcSeekBar/latest/javadoc/) | ||
|
||
## 相关推荐 | ||
|
||
更多使用详情,请查看[app](app)中的源码使用示例 | ||
#### [CircleProgressView](https://github.com/jenly1314/CircleProgressView) 一个圆形的进度动画控件,动画效果纵享丝滑。 | ||
|
||
## 版本记录 | ||
|
||
|
@@ -125,31 +119,25 @@ implementation 'com.king.view:arcseekbar:1.0.2' | |
* ArcSeekBar初始版本 | ||
|
||
## 赞赏 | ||
如果您喜欢ArcSeekBar,或感觉ArcSeekBar帮助到了您,可以点右上角“Star”支持一下,您的支持就是我的动力,谢谢 :smiley:<p> | ||
您也可以扫描下面的二维码,请作者喝杯咖啡 :coffee: | ||
<div> | ||
<img src="https://jenly1314.github.io/image/pay/wxpay.png" width="280" heght="350"> | ||
<img src="https://jenly1314.github.io/image/pay/alipay.png" width="280" heght="350"> | ||
<img src="https://jenly1314.github.io/image/pay/qqpay.png" width="280" heght="350"> | ||
<img src="https://jenly1314.github.io/image/alipay_red_envelopes.jpg" width="233" heght="350"> | ||
</div> | ||
如果您喜欢ArcSeekBar,或感觉ArcSeekBar帮助到了您,可以点右上角“Star”支持一下,您的支持就是我的动力,谢谢 :smiley: | ||
<p>您也可以扫描下面的二维码,请作者喝杯咖啡 :coffee: | ||
|
||
## 关于我 | ||
Name: <a title="关于作者" href="https://about.me/jenly1314" target="_blank">Jenly</a> | ||
|
||
Email: <a title="欢迎邮件与我交流" href="mailto:[email protected]" target="_blank">jenly1314#gmail.com</a> / <a title="给我发邮件" href="mailto:[email protected]" target="_blank">jenly1314#vip.qq.com</a> | ||
<div> | ||
<img src="https://jenly1314.github.io/image/page/rewardcode.png"> | ||
</div> | ||
|
||
CSDN: <a title="CSDN博客" href="http://blog.csdn.net/jenly121" target="_blank">jenly121</a> | ||
|
||
CNBlogs: <a title="博客园" href="https://www.cnblogs.com/jenly" target="_blank">jenly</a> | ||
## 关于我 | ||
|
||
GitHub: <a title="GitHub开源项目" href="https://github.com/jenly1314" target="_blank">jenly1314</a> | ||
| 我的博客 | GitHub | Gitee | CSDN | 博客园 | | ||
|:------------------------------------------------------------------------------------|:----------------------------------------------------------------------------------------|:---------------------------------------------------------------------------------------|:-------------------------------------------------------------------------------------|:-------------------------------------------------------------------------------| | ||
| <a title="我的博客" href="https://jenly1314.github.io" target="_blank">Jenly's Blog</a> | <a title="GitHub开源项目" href="https://github.com/jenly1314" target="_blank">jenly1314</a> | <a title="Gitee开源项目" href="https://gitee.com/jenly1314" target="_blank">jenly1314</a> | <a title="CSDN博客" href="http://blog.csdn.net/jenly121" target="_blank">jenly121</a> | <a title="博客园" href="https://www.cnblogs.com/jenly" target="_blank">jenly</a> | | ||
|
||
Gitee: <a title="Gitee开源项目" href="https://gitee.com/jenly1314" target="_blank">jenly1314</a> | ||
## 联系我 | ||
|
||
加入QQ群: <a title="点击加入QQ群" href="http://shang.qq.com/wpa/qunwpa?idkey=8fcc6a2f88552ea44b1411582c94fd124f7bb3ec227e2a400dbbfaad3dc2f5ad" target="_blank">20867961</a> | ||
<div> | ||
<img src="https://jenly1314.github.io/image/jenly666.png"> | ||
<img src="https://jenly1314.github.io/image/qqgourp.png"> | ||
</div> | ||
| 微信公众号 | Gmail邮箱 | QQ邮箱 | QQ群 | QQ群 | | ||
|:-------------|:---------------------------------------------------------------------------------|:----------------------------------------------------------------------------------|:--------------------------------------------------------------------------------------------------------------------------|:--------------------------------------------------------------------------------------------------------------------------| | ||
| [Jenly666](http://weixin.qq.com/r/wzpWTuPEQL4-ract92-R) | <a title="给我发邮件" href="mailto:[email protected]" target="_blank">jenly1314</a> | <a title="给我发邮件" href="mailto:[email protected]" target="_blank">jenly1314</a> | <a title="点击加入QQ群" href="https://qm.qq.com/cgi-bin/qm/qr?k=6_RukjAhwjAdDHEk2G7nph-o8fBFFzZz" target="_blank">20867961</a> | <a title="点击加入QQ群" href="https://qm.qq.com/cgi-bin/qm/qr?k=Z9pobM8bzAW7tM_8xC31W8IcbIl0A-zT" target="_blank">64020761</a> | | ||
|
||
<div> | ||
<img src="https://jenly1314.github.io/image/page/footer.png"> | ||
</div> |