custom-keyboard

项目地址:kuangch/custom-keyboard android 自定义键盘,支持身份证键盘,ip 地址键盘,数字键盘,支持身份证校验,ip 地址校验,随机数字键盘

简介:android 自定义键盘,支持身份证键盘,ip 地址键盘,数字键盘,支持身份证校验,ip 地址校验,随机数字键盘

更多:作者   提 Bug   

标签:

 

android 自定义键盘

使用

引用

compile 'com.dilusense.android:customkeyboard:1.1'

布局文件引用键盘布局文件

<include
        layout="@layout/layout_keyboardview"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_alignParentBottom="true"/>

创建键盘实例

KeyboardIdentity keyboardIdentity = new KeyboardIdentity(this);

绑定点击,焦点变化事件给 EditText

KeyboardUtils.bindEditTextEvent(keyboardIdentity, editText);

效果

android 自定义键盘,支持身份证键盘,ip 地址键盘,数字键盘,支持身份证校验,ip 地址校验,随机数字键盘

相关文章:

  • 2021-06-23
  • 2021-11-29
  • 2021-11-29
  • 2022-12-23
  • 2021-09-14
  • 2021-10-18
  • 2021-08-07
猜你喜欢
  • 2022-12-23
  • 2021-09-21
  • 2021-09-30
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-22
相关资源
相似解决方案