Credit Card Mask Problem ("#### #### #### ####")
yura-f opened this issue · comments
Yura F commented
If set mask:
private MaskedFormatter formatter = new MaskedFormatter("#### #### #### ####");
Is it not work.
Why?)
Vic commented
Hello, Z-13.
Strange behavior.
Bug with replacing Editable data in MaskedWatcher.
Please use custom MaskedEditText if it is possible.
Deleted user commented
I found the possible problem with the credit card.
Android: inputType can not be set to NUMBER and has a mask containing characters that are not numbers, for example "### - ###" or "###. ###"
When inputType defines as NUMBER, the mask should only have "#", if it has "-" or "." Use numberSigned or numberDecimal.
Vic commented
Hello, cafecanudo.
Thanks for your comment!