Skip to content

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

Notifications You must be signed in to change notification settings

taifusi/custom-keyboard

 
 

Repository files navigation

Custom-Keyboard

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);

效果

image

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%