├── Sample ├── .gitignore ├── src │ └── main │ │ ├── ic_launcher-web.png │ │ ├── res │ │ ├── drawable-hdpi │ │ │ └── ic_launcher.png │ │ ├── drawable-mdpi │ │ │ └── ic_launcher.png │ │ ├── drawable-xhdpi │ │ │ └── ic_launcher.png │ │ ├── drawable-xxhdpi │ │ │ └── ic_launcher.png │ │ ├── values │ │ │ ├── styles.xml │ │ │ ├── strings.xml │ │ │ └── dimens.xml │ │ └── layout │ │ │ └── activity_main.xml │ │ ├── AndroidManifest.xml │ │ └── java │ │ └── com │ │ └── rethoughtsolutions │ │ └── swipecardentry │ │ └── sample │ │ └── MainActivity.java ├── proguard-rules.pro ├── build.gradle └── Sample.iml ├── SwipeCardEntryLibrary ├── .gitignore ├── src │ └── main │ │ ├── res │ │ ├── values │ │ │ ├── strings.xml │ │ │ ├── styles.xml │ │ │ └── attrs.xml │ │ ├── drawable-xhdpi │ │ │ ├── cvv_mc.png │ │ │ ├── cvv_amex.png │ │ │ ├── cvv_visa.png │ │ │ ├── generic_bank.png │ │ │ ├── ic_launcher.png │ │ │ ├── visa_curved.png │ │ │ ├── maestro_curved.png │ │ │ ├── mastercard_curved.png │ │ │ ├── visa_electron_curved.png │ │ │ └── american_express_curved.png │ │ ├── drawable-hdpi │ │ │ └── ic_launcher.png │ │ ├── drawable-mdpi │ │ │ └── ic_launcher.png │ │ └── drawable-xxhdpi │ │ │ └── ic_launcher.png │ │ ├── AndroidManifest.xml │ │ └── java │ │ └── com │ │ └── rethoughtsolutions │ │ └── swipecardentry │ │ └── SwipeCardEntry.java ├── build.gradle ├── proguard-rules.pro └── SwipeCardEntryLibrary.iml ├── settings.gradle ├── demo.gif ├── .gitignore ├── .idea ├── copyright │ └── profiles_settings.xml ├── scopes │ └── scope_settings.xml ├── encodings.xml ├── vcs.xml ├── misc.xml ├── modules.xml ├── gradle.xml └── compiler.xml ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── COPYRIGHT ├── gradle.properties ├── SwipeCardEntry.iml ├── README.rst ├── LICENSE ├── gradlew.bat └── gradlew /Sample/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /SwipeCardEntryLibrary/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | include ':SwipeCardEntryLibrary', ':Sample' 2 | -------------------------------------------------------------------------------- /demo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rethought/SwipeCardEntry/HEAD/demo.gif -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .gradle 2 | /local.properties 3 | /.idea/workspace.xml 4 | /.idea/libraries 5 | .DS_Store 6 | /build 7 | -------------------------------------------------------------------------------- /.idea/copyright/profiles_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rethought/SwipeCardEntry/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /Sample/src/main/ic_launcher-web.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rethought/SwipeCardEntry/HEAD/Sample/src/main/ic_launcher-web.png -------------------------------------------------------------------------------- /SwipeCardEntryLibrary/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | SwipeCardEntryLibrary 3 | 4 | -------------------------------------------------------------------------------- /Sample/src/main/res/drawable-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rethought/SwipeCardEntry/HEAD/Sample/src/main/res/drawable-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /Sample/src/main/res/drawable-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rethought/SwipeCardEntry/HEAD/Sample/src/main/res/drawable-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /Sample/src/main/res/drawable-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rethought/SwipeCardEntry/HEAD/Sample/src/main/res/drawable-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /Sample/src/main/res/drawable-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rethought/SwipeCardEntry/HEAD/Sample/src/main/res/drawable-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /COPYRIGHT: -------------------------------------------------------------------------------- 1 | Copyright 2014 ReThought Ltd and contributors, all rights reserved 2 | 3 | Contributors 4 | ------------ 5 | 6 | Tom Hall https://github.com/tomjhall 7 | -------------------------------------------------------------------------------- /Sample/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | -------------------------------------------------------------------------------- /SwipeCardEntryLibrary/src/main/res/drawable-xhdpi/cvv_mc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rethought/SwipeCardEntry/HEAD/SwipeCardEntryLibrary/src/main/res/drawable-xhdpi/cvv_mc.png -------------------------------------------------------------------------------- /.idea/scopes/scope_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | -------------------------------------------------------------------------------- /SwipeCardEntryLibrary/src/main/res/drawable-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rethought/SwipeCardEntry/HEAD/SwipeCardEntryLibrary/src/main/res/drawable-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /SwipeCardEntryLibrary/src/main/res/drawable-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rethought/SwipeCardEntry/HEAD/SwipeCardEntryLibrary/src/main/res/drawable-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /SwipeCardEntryLibrary/src/main/res/drawable-xhdpi/cvv_amex.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rethought/SwipeCardEntry/HEAD/SwipeCardEntryLibrary/src/main/res/drawable-xhdpi/cvv_amex.png -------------------------------------------------------------------------------- /SwipeCardEntryLibrary/src/main/res/drawable-xhdpi/cvv_visa.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rethought/SwipeCardEntry/HEAD/SwipeCardEntryLibrary/src/main/res/drawable-xhdpi/cvv_visa.png -------------------------------------------------------------------------------- /SwipeCardEntryLibrary/src/main/res/drawable-xhdpi/generic_bank.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rethought/SwipeCardEntry/HEAD/SwipeCardEntryLibrary/src/main/res/drawable-xhdpi/generic_bank.png -------------------------------------------------------------------------------- /SwipeCardEntryLibrary/src/main/res/drawable-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rethought/SwipeCardEntry/HEAD/SwipeCardEntryLibrary/src/main/res/drawable-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /SwipeCardEntryLibrary/src/main/res/drawable-xhdpi/visa_curved.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rethought/SwipeCardEntry/HEAD/SwipeCardEntryLibrary/src/main/res/drawable-xhdpi/visa_curved.png -------------------------------------------------------------------------------- /SwipeCardEntryLibrary/src/main/res/drawable-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rethought/SwipeCardEntry/HEAD/SwipeCardEntryLibrary/src/main/res/drawable-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /SwipeCardEntryLibrary/src/main/res/drawable-xhdpi/maestro_curved.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rethought/SwipeCardEntry/HEAD/SwipeCardEntryLibrary/src/main/res/drawable-xhdpi/maestro_curved.png -------------------------------------------------------------------------------- /SwipeCardEntryLibrary/src/main/res/drawable-xhdpi/mastercard_curved.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rethought/SwipeCardEntry/HEAD/SwipeCardEntryLibrary/src/main/res/drawable-xhdpi/mastercard_curved.png -------------------------------------------------------------------------------- /.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /Sample/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Sample 4 | Pay now 5 | 6 | -------------------------------------------------------------------------------- /SwipeCardEntryLibrary/src/main/res/drawable-xhdpi/visa_electron_curved.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rethought/SwipeCardEntry/HEAD/SwipeCardEntryLibrary/src/main/res/drawable-xhdpi/visa_electron_curved.png -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /SwipeCardEntryLibrary/src/main/res/drawable-xhdpi/american_express_curved.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rethought/SwipeCardEntry/HEAD/SwipeCardEntryLibrary/src/main/res/drawable-xhdpi/american_express_curved.png -------------------------------------------------------------------------------- /SwipeCardEntryLibrary/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | -------------------------------------------------------------------------------- /Sample/src/main/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 16dp 4 | 16dp 5 | 6 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Mon Dec 29 16:27:37 GMT 2014 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=https\://services.gradle.org/distributions/gradle-2.2.1-all.zip 7 | -------------------------------------------------------------------------------- /SwipeCardEntryLibrary/src/main/res/values/attrs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /SwipeCardEntryLibrary/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /SwipeCardEntryLibrary/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: 'com.android.library' 2 | 3 | android { 4 | compileSdkVersion 21 5 | buildToolsVersion "20.0.0" 6 | 7 | defaultConfig { 8 | minSdkVersion 15 9 | targetSdkVersion 15 10 | versionCode 1 11 | versionName "1.0" 12 | } 13 | 14 | compileOptions { 15 | sourceCompatibility JavaVersion.VERSION_1_7 16 | targetCompatibility JavaVersion.VERSION_1_7 17 | } 18 | buildTypes { 19 | release { 20 | minifyEnabled false 21 | } 22 | } 23 | } 24 | 25 | dependencies { 26 | compile fileTree(dir: 'libs', include: ['*.jar']) 27 | } 28 | -------------------------------------------------------------------------------- /.idea/gradle.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /Sample/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # By default, the flags in this file are appended to flags specified 3 | # in /home/tom/android/sdk/tools/proguard/proguard-android.txt 4 | # You can edit the include path and order by changing the proguardFiles 5 | # directive in build.gradle. 6 | # 7 | # For more details, see 8 | # http://developer.android.com/guide/developing/tools/proguard.html 9 | 10 | # Add any project specific keep options here: 11 | 12 | # If your project uses WebView with JS, uncomment the following 13 | # and specify the fully qualified class name to the JavaScript interface 14 | # class: 15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 16 | # public *; 17 | #} 18 | -------------------------------------------------------------------------------- /SwipeCardEntryLibrary/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # By default, the flags in this file are appended to flags specified 3 | # in /home/tom/android/sdk/tools/proguard/proguard-android.txt 4 | # You can edit the include path and order by changing the proguardFiles 5 | # directive in build.gradle. 6 | # 7 | # For more details, see 8 | # http://developer.android.com/guide/developing/tools/proguard.html 9 | 10 | # Add any project specific keep options here: 11 | 12 | # If your project uses WebView with JS, uncomment the following 13 | # and specify the fully qualified class name to the JavaScript interface 14 | # class: 15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 16 | # public *; 17 | #} 18 | -------------------------------------------------------------------------------- /Sample/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: 'com.android.application' 2 | 3 | android { 4 | compileSdkVersion 21 5 | buildToolsVersion "20.0.0" 6 | 7 | defaultConfig { 8 | applicationId "com.rethoughtsolutions.swipecardentry.sample" 9 | minSdkVersion 15 10 | targetSdkVersion 15 11 | versionCode 1 12 | versionName "1.0" 13 | } 14 | 15 | compileOptions { 16 | sourceCompatibility JavaVersion.VERSION_1_7 17 | targetCompatibility JavaVersion.VERSION_1_7 18 | } 19 | buildTypes { 20 | release { 21 | minifyEnabled false 22 | } 23 | } 24 | } 25 | 26 | dependencies { 27 | compile fileTree(include: ['*.jar'], dir: 'libs') 28 | compile project(':SwipeCardEntryLibrary') 29 | } 30 | -------------------------------------------------------------------------------- /.idea/compiler.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /Sample/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 10 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /gradle.properties: -------------------------------------------------------------------------------- 1 | # Project-wide Gradle settings. 2 | 3 | # IDE (e.g. Android Studio) users: 4 | # Settings specified in this file will override any Gradle settings 5 | # configured through the IDE. 6 | 7 | # For more details on how to configure your build environment visit 8 | # http://www.gradle.org/docs/current/userguide/build_environment.html 9 | 10 | # Specifies the JVM arguments used for the daemon process. 11 | # The setting is particularly useful for tweaking memory settings. 12 | # Default value: -Xmx10248m -XX:MaxPermSize=256m 13 | # org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 14 | 15 | # When configured, Gradle will run in incubating parallel mode. 16 | # This option should only be used with decoupled projects. More details, visit 17 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects 18 | # org.gradle.parallel=true -------------------------------------------------------------------------------- /SwipeCardEntry.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /Sample/src/main/res/layout/activity_main.xml: -------------------------------------------------------------------------------- 1 | 10 | 11 | 16 | 17 |