Proper inputType for Credit Cards
<p>I'm trying to devise an input type for a field which will accept credit card numbers. </p>

<p>I had been using inputType="number" - but that won't let people with hardware keyboards hit the space bar.. when they do it jumps to another field in the activity. </p>

<p>I'd like to allow users to use a space in their numbers if they want, or, at least, make it so that if users with a hardware keyboard hit the space when I'm only allowing numbers it won't leave the credit card number EditText. </p>

<p>Ideally I'd be able to implement some interface and have my own custom inputType, but I'm not sure that's possible. </p>

<ul>
<li>Is it possible to allow numbers and spaces, while showing the numbers soft keyboard?</li>
</ul>
