有 Java 编程相关的问题?

你可以在下面搜索框中键入要查询的问题!

ListView中EditText的java不稳定键盘

我有editText的ListView,当我点击其中一个输入类型为数字的editText时,数字键盘出现,然后满键盘,然后在很短的时间内再次数字键盘,我能知道为什么会发生这种情况吗

<EditText
    安卓:layout_width="0dp"
    安卓:layout_height="0dp"
    安卓:id="@+id/vitalValue"
    安卓:layout_marginBottom="8dp"
    安卓:layout_marginEnd="8dp"
    安卓:layout_marginTop="8dp"
    安卓:imeOptions="actionDone"
    安卓:inputType="number"
    安卓:singleLine="true"
    安卓:textColor="@color/colorBlack"
    app:layout_constraintBottom_toBottomOf="parent"
    app:layout_constraintEnd_toEndOf="parent"
    app:layout_constraintStart_toEndOf="@id/vitalSign"
    app:layout_constraintTop_toTopOf="parent"
    />

共 (0) 个答案