關於華爲手機,在有安全鍵盤情況下,Toast無法彈出問題的解決

<EditText
    android:id="@+id/ordno_edittext"
    android:layout_width="0dp"
    android:layout_height="match_parent"
    android:layout_weight="1"
    android:background="@null"
    android:hint="請輸入訂單號"
    android:inputType="textVisiblePassword"
    android:textColor="@color/gray_333333"
    android:textColorHint="@color/input_hint"
    android:textSize="15sp" />

 

如果只是普通的輸入,不是密碼的,直接把inputType去掉,或者設置成普通的就能解決

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章