In system I have defined 3 different keyboards (Czech, Slovak, Russia) and I want to switch between them programmatically without calling InputMethodManager.showInputMethodPicker(), because it show the selector, which I don't want. How to do it? Please for Android 10 system.
Asked
Active
Viewed 183 times
1 Answers
1
Yes, it's possible, for example, switch onscreen keyboard layout to Slovakia at runtime, in kotlin:
myEditText.imeHintLocales = LocaleList(Locale("sk", "SK"))

mirij
- 89
- 1
- 7
-
It works but is up to the keyboard to support this and many do not. It works with the current Gboard though. – tagy22 Jun 17 '22 at 08:15