How do I restrict the Android keyboard presented to a user to Latin?
问题 I have an application that requires that the user enter an ASCII password between dec 32 and 126. This means that only a latin character and number keyboard is valid for editing. However, when I launch my edittext, a cyrillic keyboard is presented to the user. My question is, how do I ensure that only a latin keyboard is presented to the user? 回答1: There is no way to force IME to a certain language/character set. However, if you set your EditText to be type password, most software keyboards