我正在为Android 3.1开发一个应用程序.有没有办法在全屏模式下显示(或强制)Android键盘?
我想将斯堪的纳维亚键盘设置为 android 设备上的默认键盘,我想通过代码来做到这一点。所以我尝试使用 InputMethodManager :
InputMethodManager mng = (InputMethodManager)getSystemService(LoginActivity.INPUT_METHOD_SERVICE);
List<InputMethodInfo> m_list=mng.getInputMethodList();
Run Code Online (Sandbox Code Playgroud)
我找到了 InputMethodManager 类的方法 setInputMethod (IBinder token, String id)。但是我没有找到解释我如何使用它的示例/文档。有什么建议吗?谢谢。