Custom keyboard view in android

♀尐吖头ヾ 提交于 2020-01-02 09:03:47

问题


I'm developing a custom Android keyboard. I started to develop my keyboard, based on this tutorial. However, I want my keyboard to have customized view instead of the default keyboard view. To be specific, I want to use listview to select words. Is this possible?

Thanks in advance.


回答1:


You don't have to use the KeyboardView widget.. just put whatever views you want into the keyboard.xml layout file.

I haven't tried using listviews, but I know that normal layouts/buttons/imageviews/textviews work fine.



来源:https://stackoverflow.com/questions/29285276/custom-keyboard-view-in-android

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!