From 9eb76807c1f84e0a6d3e8dd2c7acd59baae94a84 Mon Sep 17 00:00:00 2001 From: yj Date: Tue, 13 Jun 2017 09:08:44 +0800 Subject: [PATCH] Action:alter Description:alter readme.md --- .idea/markdown-exported-files.xml | 8 +++++++ .idea/vcs.xml | 6 ++++++ README-CN.md | 36 +++++++++++++++++++++++++++++++ README.md | 36 +++++++++++++++++++++++++++++++ 4 files changed, 86 insertions(+) create mode 100644 .idea/markdown-exported-files.xml create mode 100644 .idea/vcs.xml diff --git a/.idea/markdown-exported-files.xml b/.idea/markdown-exported-files.xml new file mode 100644 index 0000000..5d1f129 --- /dev/null +++ b/.idea/markdown-exported-files.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..94a25f7 --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/README-CN.md b/README-CN.md index d8f729e..c5d963f 100644 --- a/README-CN.md +++ b/README-CN.md @@ -14,3 +14,39 @@ - [x] **防止输入溢出** - [x] **自定义验证码位数** - [x] **提供输入内容的监听器** +- [x] **高度自适配** +- [x] **属性自定义配置** + +## Version +名称|SlideMenuLayout +---|--- +最新版本|![Download](https://api.bintray.com/packages/jkb/maven/vercodeedittext/images/download.svg) + +## Configure +#### Maven +```xml + + com.justkiddingbaby + vercodeedittext + 最新版本 + pom + +``` +#### JCenter +第一步,添加至工程的build.gradle文件中 +```gradle +repositories { + jcenter() +} +``` +第二步,添加至module的build.gradle文件中 +```gradle +compile 'com.justkiddingbaby:vercodeedittext:最新版本' +``` + +## 属性说明 +属性|介绍|取值 +---|---|--- +|[figures](/vcedittext-lib/src/main/res/values/attrs.xml)|验证码位数|integer| +|[verCodeMargin](/vcedittext-lib/src/main/res/values/attrs.xml)|每个验证码的间隔|dimension| +|[bottomLineSelectedColor](/vcedittext-lib/src/main/res/values/attrs.xml)|底线选择状态下的颜色|reference| \ No newline at end of file diff --git a/README.md b/README.md index 4289541..9bdbfa6 100644 --- a/README.md +++ b/README.md @@ -15,3 +15,39 @@ Prevent input overflow. - [x] **Prevent input overflow** - [x] **Custom validation code length** - [x] **Provide input value listener** +- [x] **Layout height is auto adjust** +- [x] **Attributes can be configured for customization** + +## Version +name|SlideMenuLayout +---|--- +latest|![Download](https://api.bintray.com/packages/jkb/maven/vercodeedittext/images/download.svg) + +## Configure +#### Maven +```xml + + com.justkiddingbaby + vercodeedittext + the latest version + pom + +``` +#### JCenter +First. add to project build.gradle +```gradle +repositories { + jcenter() +} +``` +Second. add to module build.gradle +```gradle +compile 'com.justkiddingbaby:vercodeedittext:the latest version' +``` + +## Attributes instruction +attribute|instruction|value +---|---|--- +|[slideMode](/slidemenu/src/main/res/values/attrs.xml)|sliding mode|left right both none| +|[slidePadding](/slidemenu/src/main/res/values/attrs.xml)|the content view padding when slide menu is opened|dimension| +|[slideTime](/slidemenu/src/main/res/values/attrs.xml)|the time of slide menu open,the default value is 800ms|integer| \ No newline at end of file