Most of the styling can be done in the input.xml file. On top of that it’s really just adding your icons, layout and XML files. At a high level you have a class that extends Keyboard, a KeyboardView and a KeyboardService that extends InputMethodService. ![]() There are already resources that walk through aspects of the keyboard code in great detail. There is still a lot of room for improvement but this is a much better starting point. This keyboard contains styling, predictive complete spell check and alternate keys. This only took a couple of hours to put together but required a number of different resources including blogs, documentation and Stackoverflow. ![]() ![]() I’ve made some minor updates to Google’s base keyboard example and applied some of the common customizations to the keyboard. On top of that, many of the common customizations are spread out across a wide array of stack overflow posts. It’s a very helpful starting point but requires some minor changes to get it working as expected. Google’s sample keyboard project is a little out of date.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |