How do I change the default keyboard input languag

2019-07-20 04:51发布

问题:

I think this is because my OS is in Chinese. I have an EditText box in my android app, and when I click on it to input something, the default input languange is in Chinese. Can I change it to Engish?

It seems because the project was created on my computer, when others import the project and run it on the emulator, the default input is also Chinese. Can I modify some file to change the default back to English? Many thanks!

The version I created the project in is Android 2.1

回答1:

Click and hold on the EditText. A context menu will appear that will allow you to change the IME (editor).



回答2:

By default, all emulators have the Keyboards for English, Japanese IME and Chinese installed. Since the keyboard that is used by Android OS is a user's choice, there is no way to force using a specific keyboard in the app code. If you want to get rid of the unnecessary keyboards in the emulator completely, see the following post: Click Here



回答3:

According to My Digital Life:

Alternatively, on Android keyboard or other input method which based on Android keyboard, tap and hold the ?123 key, and the keyboard settings dialog with option to switch input method will be displayed for selection.

For the change of input method to take effect, unfocus the text input field (tap anywhere else) so that the keyboard closes, and then tap the input field again to open the new input method.