I am trying to create an input type for a field that will accept credit card numbers.
I used inputType = "number" - but this will not allow people with hardware keyboards to fall into a space .. when they do this, it goes to another field in this operation.
I would like to allow users to use the space in their rooms if they want to, or at least to make users with a hardware keyboard go into space, when I only allow numbers, this will not leave an EditText credit card number.
Ideally, I would be able to implement some kind of interface and have my own inputType type, but I'm not sure if this is possible.
- Can numbers and spaces be resolved by showing soft keyboard numbers?
source share