├── .gitignore ├── .idea ├── .gitignore ├── compiler.xml ├── gradle.xml └── misc.xml ├── README.md ├── app ├── .gitignore ├── build.gradle ├── proguard-rules.pro └── src │ ├── androidTest │ └── java │ │ └── com │ │ └── github │ │ └── creditcardview │ │ └── ExampleInstrumentedTest.kt │ ├── main │ ├── AndroidManifest.xml │ ├── java │ │ └── com │ │ │ └── github │ │ │ └── creditcardview │ │ │ └── MainActivity.kt │ └── res │ │ ├── drawable-v24 │ │ └── ic_launcher_foreground.xml │ │ ├── drawable │ │ ├── ic_launcher_background.xml │ │ └── ic_mastercard.png │ │ ├── layout │ │ └── activity_main.xml │ │ ├── mipmap-anydpi-v26 │ │ ├── ic_launcher.xml │ │ └── ic_launcher_round.xml │ │ ├── mipmap-hdpi │ │ ├── ic_launcher.webp │ │ └── ic_launcher_round.webp │ │ ├── mipmap-mdpi │ │ ├── ic_launcher.webp │ │ └── ic_launcher_round.webp │ │ ├── mipmap-xhdpi │ │ ├── ic_launcher.webp │ │ └── ic_launcher_round.webp │ │ ├── mipmap-xxhdpi │ │ ├── ic_launcher.webp │ │ └── ic_launcher_round.webp │ │ ├── mipmap-xxxhdpi │ │ ├── ic_launcher.webp │ │ └── ic_launcher_round.webp │ │ ├── values-night │ │ └── themes.xml │ │ ├── values │ │ ├── colors.xml │ │ ├── strings.xml │ │ └── themes.xml │ │ └── xml │ │ ├── backup_rules.xml │ │ └── data_extraction_rules.xml │ └── test │ └── java │ └── com │ └── github │ └── creditcardview │ └── ExampleUnitTest.kt ├── assets ├── credit-card-view.gif └── credit-card-view.jpg ├── credit-card-view ├── .gitignore ├── build.gradle ├── consumer-rules.pro ├── proguard-rules.pro └── src │ ├── androidTest │ └── java │ │ └── com │ │ └── github │ │ └── credit_card_view │ │ └── ExampleInstrumentedTest.kt │ ├── main │ ├── AndroidManifest.xml │ ├── java │ │ └── com │ │ │ └── github │ │ │ └── credit_card_view │ │ │ ├── CreditCardView.kt │ │ │ ├── data │ │ │ ├── CardField.kt │ │ │ ├── CardSide.kt │ │ │ └── ExpiryDate.kt │ │ │ └── util │ │ │ ├── AlphabetOnlyInputFilter.kt │ │ │ ├── Constants.kt │ │ │ ├── CreditCardTextFormatter.kt │ │ │ ├── MMYYDateFilter.kt │ │ │ ├── NumberOnlyInputFilter.kt │ │ │ └── ViewExtensions.kt │ └── res │ │ ├── drawable │ │ ├── ccv_bg_edit_text_rounded_corner_white.xml │ │ ├── ccv_bg_rounded_corner_white.xml │ │ ├── ccv_card_strip.xml │ │ └── ccv_cursor_blue.xml │ │ ├── layout │ │ ├── ccv_card_back_view.xml │ │ ├── ccv_card_front_view.xml │ │ └── layout_credit_card_view.xml │ │ └── values │ │ └── attrs.xml │ └── test │ └── java │ └── com │ └── github │ └── credit_card_view │ └── ExampleUnitTest.kt ├── gradle.properties ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat ├── jitpack.yml └── settings.gradle /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KunikaValecha/CreditCardView/HEAD/.gitignore -------------------------------------------------------------------------------- /.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # Default ignored files 2 | /shelf/ 3 | /workspace.xml 4 | -------------------------------------------------------------------------------- /.idea/compiler.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KunikaValecha/CreditCardView/HEAD/.idea/compiler.xml -------------------------------------------------------------------------------- /.idea/gradle.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KunikaValecha/CreditCardView/HEAD/.idea/gradle.xml -------------------------------------------------------------------------------- /.idea/misc.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KunikaValecha/CreditCardView/HEAD/.idea/misc.xml -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KunikaValecha/CreditCardView/HEAD/README.md -------------------------------------------------------------------------------- /app/.gitignore: -------------------------------------------------------------------------------- 1 | /build -------------------------------------------------------------------------------- /app/build.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KunikaValecha/CreditCardView/HEAD/app/build.gradle -------------------------------------------------------------------------------- /app/proguard-rules.pro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KunikaValecha/CreditCardView/HEAD/app/proguard-rules.pro -------------------------------------------------------------------------------- /app/src/androidTest/java/com/github/creditcardview/ExampleInstrumentedTest.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KunikaValecha/CreditCardView/HEAD/app/src/androidTest/java/com/github/creditcardview/ExampleInstrumentedTest.kt -------------------------------------------------------------------------------- /app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KunikaValecha/CreditCardView/HEAD/app/src/main/AndroidManifest.xml -------------------------------------------------------------------------------- /app/src/main/java/com/github/creditcardview/MainActivity.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KunikaValecha/CreditCardView/HEAD/app/src/main/java/com/github/creditcardview/MainActivity.kt -------------------------------------------------------------------------------- /app/src/main/res/drawable-v24/ic_launcher_foreground.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KunikaValecha/CreditCardView/HEAD/app/src/main/res/drawable-v24/ic_launcher_foreground.xml -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_launcher_background.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KunikaValecha/CreditCardView/HEAD/app/src/main/res/drawable/ic_launcher_background.xml -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_mastercard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KunikaValecha/CreditCardView/HEAD/app/src/main/res/drawable/ic_mastercard.png -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_main.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KunikaValecha/CreditCardView/HEAD/app/src/main/res/layout/activity_main.xml -------------------------------------------------------------------------------- /app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KunikaValecha/CreditCardView/HEAD/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml -------------------------------------------------------------------------------- /app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KunikaValecha/CreditCardView/HEAD/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KunikaValecha/CreditCardView/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KunikaValecha/CreditCardView/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KunikaValecha/CreditCardView/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KunikaValecha/CreditCardView/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KunikaValecha/CreditCardView/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KunikaValecha/CreditCardView/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KunikaValecha/CreditCardView/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KunikaValecha/CreditCardView/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KunikaValecha/CreditCardView/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KunikaValecha/CreditCardView/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /app/src/main/res/values-night/themes.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KunikaValecha/CreditCardView/HEAD/app/src/main/res/values-night/themes.xml -------------------------------------------------------------------------------- /app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KunikaValecha/CreditCardView/HEAD/app/src/main/res/values/colors.xml -------------------------------------------------------------------------------- /app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KunikaValecha/CreditCardView/HEAD/app/src/main/res/values/strings.xml -------------------------------------------------------------------------------- /app/src/main/res/values/themes.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KunikaValecha/CreditCardView/HEAD/app/src/main/res/values/themes.xml -------------------------------------------------------------------------------- /app/src/main/res/xml/backup_rules.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KunikaValecha/CreditCardView/HEAD/app/src/main/res/xml/backup_rules.xml -------------------------------------------------------------------------------- /app/src/main/res/xml/data_extraction_rules.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KunikaValecha/CreditCardView/HEAD/app/src/main/res/xml/data_extraction_rules.xml -------------------------------------------------------------------------------- /app/src/test/java/com/github/creditcardview/ExampleUnitTest.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KunikaValecha/CreditCardView/HEAD/app/src/test/java/com/github/creditcardview/ExampleUnitTest.kt -------------------------------------------------------------------------------- /assets/credit-card-view.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KunikaValecha/CreditCardView/HEAD/assets/credit-card-view.gif -------------------------------------------------------------------------------- /assets/credit-card-view.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KunikaValecha/CreditCardView/HEAD/assets/credit-card-view.jpg -------------------------------------------------------------------------------- /credit-card-view/.gitignore: -------------------------------------------------------------------------------- 1 | /build -------------------------------------------------------------------------------- /credit-card-view/build.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KunikaValecha/CreditCardView/HEAD/credit-card-view/build.gradle -------------------------------------------------------------------------------- /credit-card-view/consumer-rules.pro: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /credit-card-view/proguard-rules.pro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KunikaValecha/CreditCardView/HEAD/credit-card-view/proguard-rules.pro -------------------------------------------------------------------------------- /credit-card-view/src/androidTest/java/com/github/credit_card_view/ExampleInstrumentedTest.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KunikaValecha/CreditCardView/HEAD/credit-card-view/src/androidTest/java/com/github/credit_card_view/ExampleInstrumentedTest.kt -------------------------------------------------------------------------------- /credit-card-view/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KunikaValecha/CreditCardView/HEAD/credit-card-view/src/main/AndroidManifest.xml -------------------------------------------------------------------------------- /credit-card-view/src/main/java/com/github/credit_card_view/CreditCardView.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KunikaValecha/CreditCardView/HEAD/credit-card-view/src/main/java/com/github/credit_card_view/CreditCardView.kt -------------------------------------------------------------------------------- /credit-card-view/src/main/java/com/github/credit_card_view/data/CardField.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KunikaValecha/CreditCardView/HEAD/credit-card-view/src/main/java/com/github/credit_card_view/data/CardField.kt -------------------------------------------------------------------------------- /credit-card-view/src/main/java/com/github/credit_card_view/data/CardSide.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KunikaValecha/CreditCardView/HEAD/credit-card-view/src/main/java/com/github/credit_card_view/data/CardSide.kt -------------------------------------------------------------------------------- /credit-card-view/src/main/java/com/github/credit_card_view/data/ExpiryDate.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KunikaValecha/CreditCardView/HEAD/credit-card-view/src/main/java/com/github/credit_card_view/data/ExpiryDate.kt -------------------------------------------------------------------------------- /credit-card-view/src/main/java/com/github/credit_card_view/util/AlphabetOnlyInputFilter.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KunikaValecha/CreditCardView/HEAD/credit-card-view/src/main/java/com/github/credit_card_view/util/AlphabetOnlyInputFilter.kt -------------------------------------------------------------------------------- /credit-card-view/src/main/java/com/github/credit_card_view/util/Constants.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KunikaValecha/CreditCardView/HEAD/credit-card-view/src/main/java/com/github/credit_card_view/util/Constants.kt -------------------------------------------------------------------------------- /credit-card-view/src/main/java/com/github/credit_card_view/util/CreditCardTextFormatter.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KunikaValecha/CreditCardView/HEAD/credit-card-view/src/main/java/com/github/credit_card_view/util/CreditCardTextFormatter.kt -------------------------------------------------------------------------------- /credit-card-view/src/main/java/com/github/credit_card_view/util/MMYYDateFilter.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KunikaValecha/CreditCardView/HEAD/credit-card-view/src/main/java/com/github/credit_card_view/util/MMYYDateFilter.kt -------------------------------------------------------------------------------- /credit-card-view/src/main/java/com/github/credit_card_view/util/NumberOnlyInputFilter.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KunikaValecha/CreditCardView/HEAD/credit-card-view/src/main/java/com/github/credit_card_view/util/NumberOnlyInputFilter.kt -------------------------------------------------------------------------------- /credit-card-view/src/main/java/com/github/credit_card_view/util/ViewExtensions.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KunikaValecha/CreditCardView/HEAD/credit-card-view/src/main/java/com/github/credit_card_view/util/ViewExtensions.kt -------------------------------------------------------------------------------- /credit-card-view/src/main/res/drawable/ccv_bg_edit_text_rounded_corner_white.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KunikaValecha/CreditCardView/HEAD/credit-card-view/src/main/res/drawable/ccv_bg_edit_text_rounded_corner_white.xml -------------------------------------------------------------------------------- /credit-card-view/src/main/res/drawable/ccv_bg_rounded_corner_white.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KunikaValecha/CreditCardView/HEAD/credit-card-view/src/main/res/drawable/ccv_bg_rounded_corner_white.xml -------------------------------------------------------------------------------- /credit-card-view/src/main/res/drawable/ccv_card_strip.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KunikaValecha/CreditCardView/HEAD/credit-card-view/src/main/res/drawable/ccv_card_strip.xml -------------------------------------------------------------------------------- /credit-card-view/src/main/res/drawable/ccv_cursor_blue.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KunikaValecha/CreditCardView/HEAD/credit-card-view/src/main/res/drawable/ccv_cursor_blue.xml -------------------------------------------------------------------------------- /credit-card-view/src/main/res/layout/ccv_card_back_view.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KunikaValecha/CreditCardView/HEAD/credit-card-view/src/main/res/layout/ccv_card_back_view.xml -------------------------------------------------------------------------------- /credit-card-view/src/main/res/layout/ccv_card_front_view.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KunikaValecha/CreditCardView/HEAD/credit-card-view/src/main/res/layout/ccv_card_front_view.xml -------------------------------------------------------------------------------- /credit-card-view/src/main/res/layout/layout_credit_card_view.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KunikaValecha/CreditCardView/HEAD/credit-card-view/src/main/res/layout/layout_credit_card_view.xml -------------------------------------------------------------------------------- /credit-card-view/src/main/res/values/attrs.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KunikaValecha/CreditCardView/HEAD/credit-card-view/src/main/res/values/attrs.xml -------------------------------------------------------------------------------- /credit-card-view/src/test/java/com/github/credit_card_view/ExampleUnitTest.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KunikaValecha/CreditCardView/HEAD/credit-card-view/src/test/java/com/github/credit_card_view/ExampleUnitTest.kt -------------------------------------------------------------------------------- /gradle.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KunikaValecha/CreditCardView/HEAD/gradle.properties -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KunikaValecha/CreditCardView/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KunikaValecha/CreditCardView/HEAD/gradle/wrapper/gradle-wrapper.properties -------------------------------------------------------------------------------- /gradlew: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KunikaValecha/CreditCardView/HEAD/gradlew -------------------------------------------------------------------------------- /gradlew.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KunikaValecha/CreditCardView/HEAD/gradlew.bat -------------------------------------------------------------------------------- /jitpack.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KunikaValecha/CreditCardView/HEAD/jitpack.yml -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KunikaValecha/CreditCardView/HEAD/settings.gradle --------------------------------------------------------------------------------