public interface VerificationAction
| 限定符和类型 | 接口和说明 |
|---|---|
static interface |
VerificationAction.OnVerificationCodeChangedListener
验证码变化时候的监听事件
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
setBottomLineHeight(int bottomLineHeight)
设置底线的高度
|
void |
setBottomNormalColor(int bottomNormalColor)
设置底部未选中状态的颜色
|
void |
setBottomSelectedColor(int bottomSelectedColor)
设置底部选中状态的颜色
|
void |
setFigures(int figures)
设置位数
|
void |
setOnVerificationCodeChangedListener(VerificationAction.OnVerificationCodeChangedListener listener)
设置当验证码变化时候的监听器
|
void |
setSelectedBackgroundColor(int selectedBackground)
设置选择的背景色
|
void |
setVerCodeMargin(int margin)
设置验证码之间的间距
|
void setFigures(int figures)
void setVerCodeMargin(int margin)
void setBottomSelectedColor(@ColorRes
int bottomSelectedColor)
void setBottomNormalColor(@ColorRes
int bottomNormalColor)
void setSelectedBackgroundColor(@ColorRes
int selectedBackground)
void setBottomLineHeight(int bottomLineHeight)
void setOnVerificationCodeChangedListener(VerificationAction.OnVerificationCodeChangedListener listener)