Android studio Android Studio编辑文本在模拟器中打印错误的输入

Android studio Android Studio编辑文本在模拟器中打印错误的输入,android-studio,android-edittext,Android Studio,Android Edittext,当我从笔记本电脑键盘输入编辑文本时,它会打印(输入错误)行话。 例如,在我的键盘上输入“伦敦”会打印出“øóñðóñ”。数字“12345”打印为“12345” 我尝试过多次更改编辑文本,但没有用。来自模拟器键盘的输入打印得很好。几小时前没有发生过这样的错误 编辑文本xml的代码: <EditText android:id="@+id/cityText" android:layout_width="0dp" android:layout_height="wrap_co

当我从笔记本电脑键盘输入编辑文本时,它会打印(输入错误)行话。 例如,在我的键盘上输入“伦敦”会打印出“øóñðóñ”。数字“12345”打印为“12345”

我尝试过多次更改编辑文本,但没有用。来自模拟器键盘的输入打印得很好。几小时前没有发生过这样的错误

编辑文本xml的代码:

<EditText
    android:id="@+id/cityText"
    android:layout_width="0dp"
    android:layout_height="wrap_content"
    android:layout_marginStart="80dp"
    android:layout_marginLeft="80dp"
    android:layout_marginTop="40dp"
    android:layout_marginEnd="80dp"
    android:layout_marginRight="80dp"
    android:ems="10"
    android:inputType="textPersonName"
    android:text="Name"
    app:layout_constraintEnd_toEndOf="parent"
    app:layout_constraintStart_toStartOf="parent"
    app:layout_constraintTop_toBottomOf="@+id/textView" />


解决了这个问题。Ctrl+Alt+Shift+Left Arrow键的一些组合是有效的

您是否从模拟器的设置中更改了区域设置?我不记得弄乱了任何模拟器设置解决了它。Ctrl+Alt+Shift+Left Arrow键的某些组合可以工作