问题
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