Android Material PinInputView

PinInputView是一个Material风格的四位密码输入控件
Android 四位密码输入控件PinInputView使用
Android 四位密码输入控件PinInputView使用

GitHub

https://github.com/gitzsj/PinInputView

开始使用

buildscript {
    repositories {
        jcenter()
    }
}
dependencies {
	implementation 'com.zhaoshiji.pininputview:pininputview:0.0.2'
}

监听接口

密码输入完成监听,该接口会返回输入的内容
setOnFullListener(OnFullListener mListener)
取消按钮点击监听
setOnCancelClickListener(OnCancelClickListener mListener)

参数设置

设置数字颜色
setNumColor(int color)
设置清空按钮颜色
setClearButtonColor(int color)
设置取消/退格按钮颜色
setCancelButtonColor(int color)
设置输入框颜色
setPointColor(int color)

其他接口

输入框抖动效果
Error()
清除全部已输入的数字
ClearAll()

应用示例

微信清理大师

http://app-update-package.oss-cn-beijing.aliyuncs.com/WeChatCleanUpdateAPK/16.apk

相关文章:

  • 2022-12-23
  • 2021-10-01
  • 2022-12-23
  • 2021-08-23
  • 2022-12-23
  • 2021-07-29
  • 2021-12-22
  • 2022-02-09
猜你喜欢
  • 2021-07-05
  • 2021-08-22
  • 2022-12-23
  • 2022-12-23
  • 2021-06-02
  • 2022-12-23
  • 2022-01-12
相关资源
相似解决方案