A simple custom view based on
EditText that lets you validate credit card numbers.
CreditCardView is a custom view to work with Credit Cards / Debit Cards.
CreditCardView is an Android library that allows developers to create the UI which replicates an actual Credit Card.
This library provides an elegant form for credit card entry that can be easily added to a activity or fragment. Regex is used to validate credit card types and a Luhn check is performed on the card numbers.
This library is an extension of Android's EditText control. Its purpose is to detect the type of credit card from the numbers that are entered in it. It also provides an interface through which more patterns can be added. Once a pattern is found it displays the appropriate image next to the number.