Android numeric password field

后端 未结 8 1684
春和景丽
春和景丽 2020-12-05 00:15

I have an EditText field which needs to be a numeric password field. Everything works OK in portrait mode; not in landscape. When the user selects the EditText field, the UI

8条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-05 00:34

    This how to make input password that has hint which not converted to * !!.

    On XML :

    android:inputType="textPassword"
    android:gravity="center"
    android:ellipsize="start"
    android:hint="Input Password !."
    

    thanks to : mango and rjrjr for the insight :D.

提交回复
热议问题