diff --git a/README-CN.md b/README-CN.md
index 29b64b7..61debb3 100644
--- a/README-CN.md
+++ b/README-CN.md
@@ -18,6 +18,7 @@
- [x] **提供输入内容的监听器**
- [x] **高度自适配**
- [x] **属性自定义配置**
+- [x] **光标属性自定义**
## 版本
名称|SlideMenuLayout
@@ -43,7 +44,7 @@ repositories {
```
第二步,添加至module的build.gradle文件中
```gradle
-compile 'com.justkiddingbaby:vercodeedittext:最新版本'
+'com.justkiddingbaby:vercodeedittext:最新版本'
```
## 属性说明
@@ -55,6 +56,9 @@ compile 'com.justkiddingbaby:vercodeedittext:最新版本'
[bottomLineNormalColor](/vcedittext-lib/src/main/res/values/attrs.xml)|底线未选中状态下的颜色|reference
[bottomLineHeight](/vcedittext-lib/src/main/res/values/attrs.xml)|底线高度|dimension
[selectedBackgroundColor](/vcedittext-lib/src/main/res/values/attrs.xml)|选中的背景颜色|reference
+[cursorDuration](/vcedittext-lib/src/main/res/values/attrs.xml)|光标闪烁间隔时间|integer
+[cursorColor](/vcedittext-lib/src/main/res/values/attrs.xml)|光标颜色|integer
+[cursorWidth](/vcedittext-lib/src/main/res/values/attrs.xml)|光标宽度|integer
## 方法说明
返回值|方法|说明
@@ -86,6 +90,8 @@ void|[setOnVerificationCodeChangedListener(OnVerificationCodeChangedListener lis
```
## 发布历史
+ #### v1.1.0 (2018/11/1)
+ 1、添加光标属性的支持.
#### v1.0.5(2017/12/5)
1、修复在点击控件时候可以遇到的Bug
#### v1.0.4(2017/10/14)
diff --git a/README.md b/README.md
index 88ff928..3d05cb7 100644
--- a/README.md
+++ b/README.md
@@ -19,6 +19,7 @@ Prevent input overflow.
- [x] **Provide input value listener**
- [x] **Layout height is auto adjust**
- [x] **Attributes can be configured for customization**
+- [x] **Custom cursor style**
## Version
name|VercodeEditText
@@ -44,7 +45,7 @@ repositories {
```
Second. add to module build.gradle
```gradle
-compile 'com.justkiddingbaby:vercodeedittext:the latest version'
+'com.justkiddingbaby:vercodeedittext:the latest version'
```
## Attributes instruction
@@ -56,6 +57,9 @@ attribute|instruction|value
[bottomLineNormalColor](/vcedittext-lib/src/main/res/values/attrs.xml)|the color of bottom line is normal status|reference
[bottomLineHeight](/vcedittext-lib/src/main/res/values/attrs.xml)|the height of bottom line|dimension
[selectedBackgroundColor](/vcedittext-lib/src/main/res/values/attrs.xml)|the background color of verification code is select status|reference
+[cursorDuration](/vcedittext-lib/src/main/res/values/attrs.xml)|the duration of cursor blink|integer
+[cursorColor](/vcedittext-lib/src/main/res/values/attrs.xml)|the color of cursor|integer
+[cursorWidth](/vcedittext-lib/src/main/res/values/attrs.xml)|the width of cursor|integer
## Function instruction
return|function name|instruction
@@ -87,6 +91,8 @@ void|[setOnVerificationCodeChangedListener(OnVerificationCodeChangedListener lis
```
## Release history
+#### v1.1.0 (2018/11/1)
+1、Add cursor support.
#### v1.0.5(2017/12/5)
1、Fix the bug that could appear when the view is pressed.
#### v1.0.4(2017/10/14)
diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml
index cd8b0d3..33116ba 100644
--- a/app/src/main/res/layout/activity_main.xml
+++ b/app/src/main/res/layout/activity_main.xml
@@ -7,25 +7,27 @@
android:orientation="vertical">
+ app:verCodeMargin="10dp"/>
+ app:verCodeMargin="10dp"/>
+ app:verCodeMargin="10dp"/>
diff --git a/config.gradle b/config.gradle
index 8b9b8dd..8cd370c 100644
--- a/config.gradle
+++ b/config.gradle
@@ -6,8 +6,8 @@ ext {
]
vercode = [
- publishCode : 6,
- publishVersion: "1.0.5",
+ publishCode : 7,
+ publishVersion: "1.1.0",
userOrg : 'jkb',
groupId : 'com.justkiddingbaby',