Closed isabsent closed 6 years ago
That's possible, just specify the input type as follows:
.inputType(InputType.TYPE_CLASS_NUMBER | InputType.TYPE_NUMBER_VARIATION_PASSWORD)
I think it's a good idea to add a method Input.pin(...)
for this so I'll leave this issue open.
Thanks!
Sorry, but .inputType(InputType.TYPE_CLASS_NUMBER | InputType.TYPE_TEXT_VARIATION_PASSWORD)
doesn't work for me. Keyboard is numeric, but PIN-code is visible during input...
Sorry, it has to be TYPE_NUMBER_VARIATION_PASSWORD of course.
There will be a nice SimplePinDialog
in the next release:
I need to show PIN code input dialog with number keyboard only. If I set
inputType(InputType.TYPE_CLASS_NUMBER)
as follows:my PIN code becomes visible during input. If I remove
inputType(InputType.TYPE_CLASS_NUMBER)
PIN code is closed by stars during input, but keyboard has letter symbols too instead of numbers only. Is it posible to have closed PIN code input and numeric only keyboard?