The playstore dictates we need to use 30 or higher for the SDK. However KeyboardView is deprecated. What do we use instead? Are there any examples one can reference?
Asked
Active
Viewed 50 times
0
-
KeyboardView has nothing to do with making a keyboard. No serious keyboard uses it. Making a keyboard is all about creating an InputMethodService. The UI of a keyboard can be anything you want. – Gabe Sechan Feb 22 '22 at 07:35
-
BTW, the reason KeyboardView was deprecated was that it wasn't used by any real keyboard, and it wasn't worth maintaining as part of the framework. Too niche of a usecase. But it won't be going away anytime soon so you could use it. And if you really need to you could even grab it from the AOSP and keep it updated as Android changes. – Gabe Sechan Feb 22 '22 at 07:37
-
Related question https://stackoverflow.com/questions/70265148/how-to-properly-copy-deprecated-keyboardview-java-and-keyboard-java-to-android-p – cmak Feb 22 '22 at 07:54