├── .gitignore ├── .idea ├── .gitignore ├── .name ├── compiler.xml ├── deploymentTargetDropDown.xml ├── deploymentTargetSelector.xml ├── gradle.xml ├── inspectionProfiles │ └── Project_Default.xml ├── migrations.xml ├── misc.xml ├── runConfigurations.xml └── vcs.xml ├── LICENSE ├── README.md ├── Screenshots └── ScratchView.gif ├── app ├── .gitignore ├── build.gradle ├── proguard-rules.pro └── src │ ├── androidTest │ └── java │ │ └── com │ │ └── anupkumarpanwar │ │ └── scratchviewdemo │ │ └── ExampleInstrumentedTest.java │ ├── main │ ├── AndroidManifest.xml │ ├── java │ │ └── com │ │ │ └── anupkumarpanwar │ │ │ └── scratchviewdemo │ │ │ └── MainActivity.java │ └── res │ │ ├── drawable │ │ ├── anup.jpg │ │ ├── ic_launcher_background.xml │ │ ├── ic_launcher_foreground.xml │ │ └── scratch_card.jpg │ │ ├── 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-land │ │ └── dimens.xml │ │ ├── values-night │ │ └── themes.xml │ │ ├── values-v23 │ │ └── themes.xml │ │ ├── values-w1240dp │ │ └── dimens.xml │ │ ├── values-w600dp │ │ └── dimens.xml │ │ ├── values │ │ ├── colors.xml │ │ ├── dimens.xml │ │ ├── strings.xml │ │ └── themes.xml │ │ └── xml │ │ ├── backup_rules.xml │ │ └── data_extraction_rules.xml │ └── test │ └── java │ └── com │ └── anupkumarpanwar │ └── scratchviewdemo │ └── ExampleUnitTest.java ├── gradle.properties ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat ├── jitpack.yml ├── scratchview ├── .gitignore ├── build.gradle ├── consumer-rules.pro ├── proguard-rules.pro └── src │ ├── androidTest │ └── java │ │ └── com │ │ └── anupkumarpanwar │ │ └── scratchview │ │ └── ExampleInstrumentedTest.java │ ├── main │ ├── AndroidManifest.xml │ ├── java │ │ └── com │ │ │ └── anupkumarpanwar │ │ │ ├── scratchview │ │ │ └── ScratchView.java │ │ │ └── utils │ │ │ └── BitmapUtils.java │ └── res │ │ ├── drawable │ │ └── ic_scratch_pattern.png │ │ └── values │ │ ├── attrs.xml │ │ └── colors.xml │ └── test │ └── java │ └── com │ └── anupkumarpanwar │ └── scratchview │ └── ExampleUnitTest.java └── settings.gradle /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AnupKumarPanwar/ScratchView/HEAD/.gitignore -------------------------------------------------------------------------------- /.idea/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AnupKumarPanwar/ScratchView/HEAD/.idea/.gitignore -------------------------------------------------------------------------------- /.idea/.name: -------------------------------------------------------------------------------- 1 | Scratchview Demo -------------------------------------------------------------------------------- /.idea/compiler.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AnupKumarPanwar/ScratchView/HEAD/.idea/compiler.xml -------------------------------------------------------------------------------- /.idea/deploymentTargetDropDown.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AnupKumarPanwar/ScratchView/HEAD/.idea/deploymentTargetDropDown.xml -------------------------------------------------------------------------------- /.idea/deploymentTargetSelector.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AnupKumarPanwar/ScratchView/HEAD/.idea/deploymentTargetSelector.xml -------------------------------------------------------------------------------- /.idea/gradle.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AnupKumarPanwar/ScratchView/HEAD/.idea/gradle.xml -------------------------------------------------------------------------------- /.idea/inspectionProfiles/Project_Default.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AnupKumarPanwar/ScratchView/HEAD/.idea/inspectionProfiles/Project_Default.xml -------------------------------------------------------------------------------- /.idea/migrations.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AnupKumarPanwar/ScratchView/HEAD/.idea/migrations.xml -------------------------------------------------------------------------------- /.idea/misc.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AnupKumarPanwar/ScratchView/HEAD/.idea/misc.xml -------------------------------------------------------------------------------- /.idea/runConfigurations.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AnupKumarPanwar/ScratchView/HEAD/.idea/runConfigurations.xml -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AnupKumarPanwar/ScratchView/HEAD/.idea/vcs.xml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AnupKumarPanwar/ScratchView/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AnupKumarPanwar/ScratchView/HEAD/README.md -------------------------------------------------------------------------------- /Screenshots/ScratchView.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AnupKumarPanwar/ScratchView/HEAD/Screenshots/ScratchView.gif -------------------------------------------------------------------------------- /app/.gitignore: -------------------------------------------------------------------------------- 1 | /build -------------------------------------------------------------------------------- /app/build.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AnupKumarPanwar/ScratchView/HEAD/app/build.gradle -------------------------------------------------------------------------------- /app/proguard-rules.pro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AnupKumarPanwar/ScratchView/HEAD/app/proguard-rules.pro -------------------------------------------------------------------------------- /app/src/androidTest/java/com/anupkumarpanwar/scratchviewdemo/ExampleInstrumentedTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AnupKumarPanwar/ScratchView/HEAD/app/src/androidTest/java/com/anupkumarpanwar/scratchviewdemo/ExampleInstrumentedTest.java -------------------------------------------------------------------------------- /app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AnupKumarPanwar/ScratchView/HEAD/app/src/main/AndroidManifest.xml -------------------------------------------------------------------------------- /app/src/main/java/com/anupkumarpanwar/scratchviewdemo/MainActivity.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AnupKumarPanwar/ScratchView/HEAD/app/src/main/java/com/anupkumarpanwar/scratchviewdemo/MainActivity.java -------------------------------------------------------------------------------- /app/src/main/res/drawable/anup.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AnupKumarPanwar/ScratchView/HEAD/app/src/main/res/drawable/anup.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_launcher_background.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AnupKumarPanwar/ScratchView/HEAD/app/src/main/res/drawable/ic_launcher_background.xml -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_launcher_foreground.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AnupKumarPanwar/ScratchView/HEAD/app/src/main/res/drawable/ic_launcher_foreground.xml -------------------------------------------------------------------------------- /app/src/main/res/drawable/scratch_card.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AnupKumarPanwar/ScratchView/HEAD/app/src/main/res/drawable/scratch_card.jpg -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_main.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AnupKumarPanwar/ScratchView/HEAD/app/src/main/res/layout/activity_main.xml -------------------------------------------------------------------------------- /app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AnupKumarPanwar/ScratchView/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/AnupKumarPanwar/ScratchView/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/AnupKumarPanwar/ScratchView/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AnupKumarPanwar/ScratchView/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AnupKumarPanwar/ScratchView/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AnupKumarPanwar/ScratchView/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AnupKumarPanwar/ScratchView/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AnupKumarPanwar/ScratchView/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AnupKumarPanwar/ScratchView/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AnupKumarPanwar/ScratchView/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AnupKumarPanwar/ScratchView/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AnupKumarPanwar/ScratchView/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /app/src/main/res/values-land/dimens.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AnupKumarPanwar/ScratchView/HEAD/app/src/main/res/values-land/dimens.xml -------------------------------------------------------------------------------- /app/src/main/res/values-night/themes.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AnupKumarPanwar/ScratchView/HEAD/app/src/main/res/values-night/themes.xml -------------------------------------------------------------------------------- /app/src/main/res/values-v23/themes.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AnupKumarPanwar/ScratchView/HEAD/app/src/main/res/values-v23/themes.xml -------------------------------------------------------------------------------- /app/src/main/res/values-w1240dp/dimens.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AnupKumarPanwar/ScratchView/HEAD/app/src/main/res/values-w1240dp/dimens.xml -------------------------------------------------------------------------------- /app/src/main/res/values-w600dp/dimens.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AnupKumarPanwar/ScratchView/HEAD/app/src/main/res/values-w600dp/dimens.xml -------------------------------------------------------------------------------- /app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AnupKumarPanwar/ScratchView/HEAD/app/src/main/res/values/colors.xml -------------------------------------------------------------------------------- /app/src/main/res/values/dimens.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AnupKumarPanwar/ScratchView/HEAD/app/src/main/res/values/dimens.xml -------------------------------------------------------------------------------- /app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AnupKumarPanwar/ScratchView/HEAD/app/src/main/res/values/strings.xml -------------------------------------------------------------------------------- /app/src/main/res/values/themes.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AnupKumarPanwar/ScratchView/HEAD/app/src/main/res/values/themes.xml -------------------------------------------------------------------------------- /app/src/main/res/xml/backup_rules.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AnupKumarPanwar/ScratchView/HEAD/app/src/main/res/xml/backup_rules.xml -------------------------------------------------------------------------------- /app/src/main/res/xml/data_extraction_rules.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AnupKumarPanwar/ScratchView/HEAD/app/src/main/res/xml/data_extraction_rules.xml -------------------------------------------------------------------------------- /app/src/test/java/com/anupkumarpanwar/scratchviewdemo/ExampleUnitTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AnupKumarPanwar/ScratchView/HEAD/app/src/test/java/com/anupkumarpanwar/scratchviewdemo/ExampleUnitTest.java -------------------------------------------------------------------------------- /gradle.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AnupKumarPanwar/ScratchView/HEAD/gradle.properties -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AnupKumarPanwar/ScratchView/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AnupKumarPanwar/ScratchView/HEAD/gradle/wrapper/gradle-wrapper.properties -------------------------------------------------------------------------------- /gradlew: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AnupKumarPanwar/ScratchView/HEAD/gradlew -------------------------------------------------------------------------------- /gradlew.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AnupKumarPanwar/ScratchView/HEAD/gradlew.bat -------------------------------------------------------------------------------- /jitpack.yml: -------------------------------------------------------------------------------- 1 | jdk: 2 | - openjdk17 -------------------------------------------------------------------------------- /scratchview/.gitignore: -------------------------------------------------------------------------------- 1 | /build -------------------------------------------------------------------------------- /scratchview/build.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AnupKumarPanwar/ScratchView/HEAD/scratchview/build.gradle -------------------------------------------------------------------------------- /scratchview/consumer-rules.pro: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /scratchview/proguard-rules.pro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AnupKumarPanwar/ScratchView/HEAD/scratchview/proguard-rules.pro -------------------------------------------------------------------------------- /scratchview/src/androidTest/java/com/anupkumarpanwar/scratchview/ExampleInstrumentedTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AnupKumarPanwar/ScratchView/HEAD/scratchview/src/androidTest/java/com/anupkumarpanwar/scratchview/ExampleInstrumentedTest.java -------------------------------------------------------------------------------- /scratchview/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AnupKumarPanwar/ScratchView/HEAD/scratchview/src/main/AndroidManifest.xml -------------------------------------------------------------------------------- /scratchview/src/main/java/com/anupkumarpanwar/scratchview/ScratchView.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AnupKumarPanwar/ScratchView/HEAD/scratchview/src/main/java/com/anupkumarpanwar/scratchview/ScratchView.java -------------------------------------------------------------------------------- /scratchview/src/main/java/com/anupkumarpanwar/utils/BitmapUtils.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AnupKumarPanwar/ScratchView/HEAD/scratchview/src/main/java/com/anupkumarpanwar/utils/BitmapUtils.java -------------------------------------------------------------------------------- /scratchview/src/main/res/drawable/ic_scratch_pattern.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AnupKumarPanwar/ScratchView/HEAD/scratchview/src/main/res/drawable/ic_scratch_pattern.png -------------------------------------------------------------------------------- /scratchview/src/main/res/values/attrs.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AnupKumarPanwar/ScratchView/HEAD/scratchview/src/main/res/values/attrs.xml -------------------------------------------------------------------------------- /scratchview/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AnupKumarPanwar/ScratchView/HEAD/scratchview/src/main/res/values/colors.xml -------------------------------------------------------------------------------- /scratchview/src/test/java/com/anupkumarpanwar/scratchview/ExampleUnitTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AnupKumarPanwar/ScratchView/HEAD/scratchview/src/test/java/com/anupkumarpanwar/scratchview/ExampleUnitTest.java -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AnupKumarPanwar/ScratchView/HEAD/settings.gradle --------------------------------------------------------------------------------