├── app ├── .gitignore ├── src │ ├── main │ │ ├── assets │ │ │ └── fonts │ │ │ │ ├── Font-Bold.ttf │ │ │ │ ├── Font-Light.ttf │ │ │ │ └── Font-Regular.ttf │ │ ├── res │ │ │ ├── drawable-hdpi │ │ │ │ └── lock.9.png │ │ │ ├── drawable-mdpi │ │ │ │ └── lock.9.png │ │ │ ├── drawable-xhdpi │ │ │ │ └── lock.9.png │ │ │ ├── drawable-xxhdpi │ │ │ │ └── lock.9.png │ │ │ ├── drawable-xxxhdpi │ │ │ │ └── lock.9.png │ │ │ ├── mipmap-hdpi │ │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-mdpi │ │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-xhdpi │ │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-xxhdpi │ │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-xxxhdpi │ │ │ │ └── ic_launcher.png │ │ │ ├── values │ │ │ │ ├── strings.xml │ │ │ │ ├── dimens.xml │ │ │ │ ├── colors.xml │ │ │ │ └── styles.xml │ │ │ ├── drawable │ │ │ │ ├── filled_dot.xml │ │ │ │ └── empty_dot.xml │ │ │ ├── anim │ │ │ │ ├── fade_in.xml │ │ │ │ └── slide_out_down.xml │ │ │ ├── values-v21 │ │ │ │ └── styles.xml │ │ │ ├── values-w820dp │ │ │ │ └── dimens.xml │ │ │ ├── menu │ │ │ │ └── menu_main.xml │ │ │ └── layout │ │ │ │ ├── logged_in_activity.xml │ │ │ │ ├── activity_main.xml │ │ │ │ └── fragment_main.xml │ │ ├── java │ │ │ └── in │ │ │ │ └── arjsna │ │ │ │ └── passcodeviewsample │ │ │ │ ├── LoggedInActivity.java │ │ │ │ ├── MainActivity.java │ │ │ │ └── MainFragment.java │ │ └── AndroidManifest.xml │ ├── test │ │ └── java │ │ │ └── in │ │ │ └── arjsna │ │ │ └── passcodeviewsample │ │ │ └── ExampleUnitTest.java │ └── androidTest │ │ └── java │ │ └── in │ │ └── arjsna │ │ └── passcodeviewsample │ │ └── ApplicationTest.java ├── proguard-rules.pro └── build.gradle ├── passcodeview ├── .gitignore ├── src │ ├── main │ │ ├── res │ │ │ └── values │ │ │ │ ├── strings.xml │ │ │ │ ├── dimens.xml │ │ │ │ └── attr.xml │ │ ├── AndroidManifest.xml │ │ └── java │ │ │ └── in │ │ │ └── arjsna │ │ │ └── passcodeview │ │ │ ├── KeyRect.java │ │ │ └── PassCodeView.java │ ├── test │ │ └── java │ │ │ └── in │ │ │ └── arjsna │ │ │ └── passcodeview │ │ │ └── ExampleUnitTest.java │ └── androidTest │ │ └── java │ │ └── in │ │ └── arjsna │ │ └── passcodeview │ │ └── ApplicationTest.java ├── proguard-rules.pro └── build.gradle ├── settings.gradle ├── .idea ├── copyright │ └── profiles_settings.xml ├── encodings.xml ├── vcs.xml ├── runConfigurations.xml ├── compiler.xml ├── modules.xml ├── gradle.xml └── misc.xml ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── .gitignore ├── gradle.properties ├── gradlew.bat ├── README.md ├── gradlew └── LICENSE /app/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /passcodeview/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app', ':passcodeview' 2 | -------------------------------------------------------------------------------- /.idea/copyright/profiles_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Arjun-sna/android-passcodeview/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /passcodeview/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | Passcodeview 3 | 4 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | .gradle 3 | /local.properties 4 | /.idea/workspace.xml 5 | /.idea/libraries 6 | .DS_Store 7 | /build 8 | /captures 9 | -------------------------------------------------------------------------------- /app/src/main/assets/fonts/Font-Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Arjun-sna/android-passcodeview/HEAD/app/src/main/assets/fonts/Font-Bold.ttf -------------------------------------------------------------------------------- /app/src/main/assets/fonts/Font-Light.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Arjun-sna/android-passcodeview/HEAD/app/src/main/assets/fonts/Font-Light.ttf -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/lock.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Arjun-sna/android-passcodeview/HEAD/app/src/main/res/drawable-hdpi/lock.9.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-mdpi/lock.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Arjun-sna/android-passcodeview/HEAD/app/src/main/res/drawable-mdpi/lock.9.png -------------------------------------------------------------------------------- /app/src/main/assets/fonts/Font-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Arjun-sna/android-passcodeview/HEAD/app/src/main/assets/fonts/Font-Regular.ttf -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/lock.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Arjun-sna/android-passcodeview/HEAD/app/src/main/res/drawable-xhdpi/lock.9.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/lock.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Arjun-sna/android-passcodeview/HEAD/app/src/main/res/drawable-xxhdpi/lock.9.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxxhdpi/lock.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Arjun-sna/android-passcodeview/HEAD/app/src/main/res/drawable-xxxhdpi/lock.9.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Arjun-sna/android-passcodeview/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Arjun-sna/android-passcodeview/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Arjun-sna/android-passcodeview/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Arjun-sna/android-passcodeview/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Arjun-sna/android-passcodeview/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | PassCodeView 3 | Settings 4 | 5 | -------------------------------------------------------------------------------- /.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/filled_dot.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/empty_dot.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 7 | -------------------------------------------------------------------------------- /app/src/main/res/anim/fade_in.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Thu Apr 06 12:48:36 IST 2017 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-3.3-all.zip 7 | -------------------------------------------------------------------------------- /app/src/main/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 16dp 4 | 16dp 5 | 16dp 6 | 7 | -------------------------------------------------------------------------------- /app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #3F51B5 4 | #303F9F 5 | #FF4081 6 | #666666 7 | 8 | -------------------------------------------------------------------------------- /app/src/main/res/anim/slide_out_down.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | -------------------------------------------------------------------------------- /passcodeview/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /passcodeview/src/main/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 24.0sp 4 | 30.0dp 5 | 40.0dp 6 | 15.0dp 7 | 300.0dp 8 | -------------------------------------------------------------------------------- /app/src/main/res/values-v21/styles.xml: -------------------------------------------------------------------------------- 1 | > 2 | 3 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/values-w820dp/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 64dp 6 | 7 | -------------------------------------------------------------------------------- /app/src/test/java/in/arjsna/passcodeviewsample/ExampleUnitTest.java: -------------------------------------------------------------------------------- 1 | package in.arjsna.passcodeviewsample; 2 | 3 | import org.junit.Test; 4 | 5 | import static org.junit.Assert.*; 6 | 7 | /** 8 | * To work on unit tests, switch the Test Artifact in the Build Variants view. 9 | */ 10 | public class ExampleUnitTest { 11 | @Test public void addition_isCorrect() throws Exception { 12 | assertEquals(4, 2 + 2); 13 | } 14 | } -------------------------------------------------------------------------------- /passcodeview/src/test/java/in/arjsna/passcodeview/ExampleUnitTest.java: -------------------------------------------------------------------------------- 1 | package in.arjsna.passcodeview; 2 | 3 | import org.junit.Test; 4 | 5 | import static org.junit.Assert.*; 6 | 7 | /** 8 | * To work on unit tests, switch the Test Artifact in the Build Variants view. 9 | */ 10 | public class ExampleUnitTest { 11 | @Test public void addition_isCorrect() throws Exception { 12 | assertEquals(4, 2 + 2); 13 | } 14 | } -------------------------------------------------------------------------------- /passcodeview/src/androidTest/java/in/arjsna/passcodeview/ApplicationTest.java: -------------------------------------------------------------------------------- 1 | package in.arjsna.passcodeview; 2 | 3 | import android.app.Application; 4 | import android.test.ApplicationTestCase; 5 | 6 | /** 7 | * Testing Fundamentals 8 | */ 9 | public class ApplicationTest extends ApplicationTestCase { 10 | public ApplicationTest() { 11 | super(Application.class); 12 | } 13 | } -------------------------------------------------------------------------------- /app/src/androidTest/java/in/arjsna/passcodeviewsample/ApplicationTest.java: -------------------------------------------------------------------------------- 1 | package in.arjsna.passcodeviewsample; 2 | 3 | import android.app.Application; 4 | import android.test.ApplicationTestCase; 5 | 6 | /** 7 | * Testing Fundamentals 8 | */ 9 | public class ApplicationTest extends ApplicationTestCase { 10 | public ApplicationTest() { 11 | super(Application.class); 12 | } 13 | } -------------------------------------------------------------------------------- /app/src/main/res/menu/menu_main.xml: -------------------------------------------------------------------------------- 1 | 5 | 10 | 11 | -------------------------------------------------------------------------------- /app/src/main/res/layout/logged_in_activity.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 14 | -------------------------------------------------------------------------------- /.idea/runConfigurations.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 11 | 12 | -------------------------------------------------------------------------------- /passcodeview/src/main/res/values/attr.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_main.xml: -------------------------------------------------------------------------------- 1 | 2 | 13 | 18 | 19 | -------------------------------------------------------------------------------- /app/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 /mnt/Mem1/AndroidDev/android-studio-old/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 | -------------------------------------------------------------------------------- /passcodeview/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 /mnt/Mem1/AndroidDev/android-studio-old/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 | -------------------------------------------------------------------------------- /app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 10 | 11 | 15 | 16 |