Skip to content

Commit 3238040

Browse files
committed
update README.md
1 parent 450d757 commit 3238040

3 files changed

Lines changed: 244 additions & 173 deletions

File tree

README.md

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,17 @@
1616

1717
属性名 | 属性说明
1818
:---:|:---:
19-
blockNormalColor | 正常状态下的颜色
20-
blockFocusColor | 待输入且EditText获取了焦点时颜色
21-
blockErrorColor | 错误状态下颜色
22-
blockLineWidth | 绘制边框或者下划线的线的宽度
23-
blockSpace | 块与块之间的间距
24-
blockShape | 块的样式暂时支持四种 none solid stroke underline
19+
blockNormalColor | 正常状态下的颜色 默认为字体颜色
20+
blockFocusColor | 待输入且EditText获取了焦点时颜色 默认值为blockNormalColor
21+
blockErrorColor | 错误状态下颜色 默认值为blockNormalColor
22+
blockLineWidth | 绘制边框或者下划线的线的宽度 默认1dp
23+
blockSpace | 块与块之间的间距 默认0
24+
blockShape | 块的样式暂时支持四种 none solid stroke underline 默认值为none
2525

2626

2727
blockShape 属性值 | 属性说明
2828
:---:|:---:
29-
none | 什么都不绘制
29+
none | 什么都不绘制,空白
3030
solid | 填充色块
3131
stroke | 绘制边框
3232
underline | 下划线
@@ -37,10 +37,16 @@ underline | 下划线
3737
属性名 | 属性说明
3838
:---:|:---:
3939
codeTextColor | 文本或者密码圆点颜色
40-
codeTextSize | 文本尺寸,当 codeInputType 为 text 时生效
41-
maxCodeLength | 输入的最大长度
42-
dotRadius | 密码圆点半径,当codeInputType为 password 生效
43-
codeInputType | password (密码圆点展示)text 明文展示
40+
codeTextSize | 文本尺寸,当 codeInputType 为 text 时生效。 默认为12sp
41+
maxCodeLength | 输入的最大长度 默认为6
42+
dotRadius | 密码圆点半径,当codeInputType为 password 生效。默认为5dp
43+
codeInputType | password (密码圆点展示)text 明文展示。 默认text
44+
45+
codeInputType 属性值 | 属性说明
46+
:---:|:---:
47+
none | 什么都不绘制,空白
48+
text | 明文
49+
password | 密码圆点展示
4450

4551
## 效果图
4652

0 commit comments

Comments
 (0)