Custom Keyboard on Custom Dialog (Android)

2019-01-24 20:44发布

How can I use custom keyboard when open custom dialog with EditText ?

I use keyboard View in my project ,I wanna show my custom keyboard when open custom dialog

  • When custom dialog is open, my custom keyboard open behind dialog

When custom dialog is displayed keyboard is displayed behind that and thus user is not able to type using the keyboard. Something like this

Something like this: Sample image

1条回答
够拽才男人
2楼-- · 2019-01-24 21:24

check this tutorial Create Your Own Custom Keyboard

in additional in order to intercept the keyboard events you can overrider the onTouch events see the link i posted

查看更多
登录 后发表回答