Android software keyboard switch between numeric and alphabetic programmatically

前端 未结 3 1354
被撕碎了的回忆
被撕碎了的回忆 2021-02-19 02:31

I have an EditText with inputMode = text. By default software keyboard is shown as alphabetical and user have to switch it to numeric by pressing specific key (

3条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-02-19 03:03

    I find the answer a day, finally I found this and its work.

    android:inputType="textVisiblePassword"
    

    source

提交回复
热议问题