# VerificationCodeView
Android 自定义方形输入框,仿滴滴验证码、小篮单车验证码输入框
## 效果图

GIF被压缩的有点模糊,下面是截图

---
## 用法
所有属性
```
```
输入完成监听
```
verificationcodeview.setOnCodeFinishListener(new VerificationCodeView.OnCodeFinishListener() {
@Override
public void onComplete(String content) {
textView.setText(content);
}
});
```
所有属性
```
```
vcv_et_bg 背景示例(默认)
```
-
-
```
vcv_et_cursor 光标示例(默认)
```
```
## Gradle
Step 1. Add it in your root build.gradle at the end of repositories:
```
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
```
Step 2. Add the dependency
```
dependencies {
compile 'com.jyn.verificationcodeview:verificationcodeview:1.0.0'
}
```