This commit is contained in:
吃苹果的猫
2017-11-02 18:24:59 +08:00

View File

@@ -1,7 +1,7 @@
# VerificationCodeView # VerificationCodeView
Android 自定义方形输入框,仿滴滴验证码、小篮单车验证码输入框 Android 自定义方形输入框,仿滴滴验证码、小篮单车验证码输入框
##效果图 ## 效果图
![Screenshot](screenshot/screenshot.gif) ![Screenshot](screenshot/screenshot.gif)
@@ -10,8 +10,7 @@ GIF被压缩的有点模糊下面是截图
![Screenshot](screenshot/screenshot_1.jpg) ![Screenshot](screenshot/screenshot_1.jpg)
--- ---
##用法 ## 用法
所有属性
``` ```
<com.jyn.vcview.VerificationCodeView <com.jyn.vcview.VerificationCodeView
@@ -61,7 +60,7 @@ verificationcodeview.setOnCodeFinishListener(new VerificationCodeView.OnCodeFini
<attr name="vcv_et_cursor" format="reference" /> <attr name="vcv_et_cursor" format="reference" />
</declare-styleable> </declare-styleable>
``` ```
vcv_et_bg 背景示例(默认) `vcv_et_bg` 背景示例(默认)
``` ```
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android"> <selector xmlns:android="http://schemas.android.com/apk/res/android">
@@ -83,7 +82,7 @@ vcv_et_bg 背景示例(默认)
</item> </item>
</selector> </selector>
``` ```
vcv_et_cursor 光标示例(默认) `vcv_et_cursor` 光标示例(默认)
``` ```
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android" <shape xmlns:android="http://schemas.android.com/apk/res/android"
@@ -122,5 +121,4 @@ CSDN[http://blog.csdn.net/jiaoyaning1210/article/details/78427818](http://blo
如果对您有帮助的话还请给个收藏或者star谢谢 如果对您有帮助的话还请给个收藏或者star谢谢
--- ---