├── .gitattributes ├── .gradle ├── 5.6.4 │ ├── executionHistory │ │ ├── executionHistory.bin │ │ └── executionHistory.lock │ ├── fileChanges │ │ └── last-build.bin │ ├── fileContent │ │ └── fileContent.lock │ ├── fileHashes │ │ ├── fileHashes.bin │ │ ├── fileHashes.lock │ │ └── resourceHashesCache.bin │ ├── gc.properties │ └── javaCompile │ │ ├── classAnalysis.bin │ │ ├── jarAnalysis.bin │ │ ├── javaCompile.lock │ │ └── taskHistory.bin ├── buildOutputCleanup │ ├── buildOutputCleanup.lock │ ├── cache.properties │ └── outputFiles.bin └── vcs-1 │ └── gc.properties ├── .idea ├── caches │ └── build_file_checksums.ser ├── codeStyles │ └── Project.xml ├── compiler.xml ├── copyright │ └── profiles_settings.xml ├── gradle.xml ├── libraries │ ├── Gradle__androidx_activity_activity_1_0_0_aar.xml │ ├── Gradle__androidx_annotation_annotation_1_1_0_jar.xml │ ├── Gradle__androidx_annotation_annotation_experimental_1_0_0_aar.xml │ ├── Gradle__androidx_appcompat_appcompat_1_2_0_aar.xml │ ├── Gradle__androidx_appcompat_appcompat_resources_1_2_0_aar.xml │ ├── Gradle__androidx_arch_core_core_common_2_1_0_jar.xml │ ├── Gradle__androidx_arch_core_core_runtime_2_0_0_aar.xml │ ├── Gradle__androidx_asynclayoutinflater_asynclayoutinflater_1_0_0_aar.xml │ ├── Gradle__androidx_cardview_cardview_1_0_0_aar.xml │ ├── Gradle__androidx_collection_collection_1_1_0_jar.xml │ ├── Gradle__androidx_constraintlayout_constraintlayout_2_0_1_aar.xml │ ├── Gradle__androidx_constraintlayout_constraintlayout_solver_2_0_1_jar.xml │ ├── Gradle__androidx_coordinatorlayout_coordinatorlayout_1_0_0_aar.xml │ ├── Gradle__androidx_coordinatorlayout_coordinatorlayout_1_1_0_aar.xml │ ├── Gradle__androidx_core_core_1_3_0_aar.xml │ ├── Gradle__androidx_core_core_1_3_1_aar.xml │ ├── Gradle__androidx_cursoradapter_cursoradapter_1_0_0_aar.xml │ ├── Gradle__androidx_customview_customview_1_0_0_aar.xml │ ├── Gradle__androidx_documentfile_documentfile_1_0_0_aar.xml │ ├── Gradle__androidx_drawerlayout_drawerlayout_1_0_0_aar.xml │ ├── Gradle__androidx_exifinterface_exifinterface_1_0_0_aar.xml │ ├── Gradle__androidx_fragment_fragment_1_1_0_aar.xml │ ├── Gradle__androidx_interpolator_interpolator_1_0_0_aar.xml │ ├── Gradle__androidx_legacy_legacy_support_core_ui_1_0_0_aar.xml │ ├── Gradle__androidx_legacy_legacy_support_core_utils_1_0_0_aar.xml │ ├── Gradle__androidx_legacy_legacy_support_v4_1_0_0_aar.xml │ ├── Gradle__androidx_lifecycle_lifecycle_common_2_1_0_jar.xml │ ├── Gradle__androidx_lifecycle_lifecycle_livedata_2_0_0_aar.xml │ ├── Gradle__androidx_lifecycle_lifecycle_livedata_core_2_0_0_aar.xml │ ├── Gradle__androidx_lifecycle_lifecycle_runtime_2_1_0_aar.xml │ ├── Gradle__androidx_lifecycle_lifecycle_viewmodel_2_1_0_aar.xml │ ├── Gradle__androidx_loader_loader_1_0_0_aar.xml │ ├── Gradle__androidx_localbroadcastmanager_localbroadcastmanager_1_0_0_aar.xml │ ├── Gradle__androidx_media_media_1_0_0_aar.xml │ ├── Gradle__androidx_print_print_1_0_0_aar.xml │ ├── Gradle__androidx_recyclerview_recyclerview_1_1_0_aar.xml │ ├── Gradle__androidx_savedstate_savedstate_1_0_0_aar.xml │ ├── Gradle__androidx_slidingpanelayout_slidingpanelayout_1_0_0_aar.xml │ ├── Gradle__androidx_swiperefreshlayout_swiperefreshlayout_1_0_0_aar.xml │ ├── Gradle__androidx_test_core_1_3_0_aar.xml │ ├── Gradle__androidx_test_espresso_espresso_core_3_3_0_aar.xml │ ├── Gradle__androidx_test_espresso_espresso_idling_resource_3_3_0_aar.xml │ ├── Gradle__androidx_test_ext_junit_1_1_2_aar.xml │ ├── Gradle__androidx_test_monitor_1_3_0_aar.xml │ ├── Gradle__androidx_test_runner_1_3_0_aar.xml │ ├── Gradle__androidx_transition_transition_1_2_0_aar.xml │ ├── Gradle__androidx_vectordrawable_vectordrawable_1_1_0_aar.xml │ ├── Gradle__androidx_vectordrawable_vectordrawable_animated_1_1_0_aar.xml │ ├── Gradle__androidx_versionedparcelable_versionedparcelable_1_1_0_aar.xml │ ├── Gradle__androidx_viewpager2_viewpager2_1_0_0_aar.xml │ ├── Gradle__androidx_viewpager_viewpager_1_0_0_aar.xml │ ├── Gradle__com_google_android_material_material_1_2_0_aar.xml │ ├── Gradle__com_google_code_findbugs_jsr305_2_0_1_jar.xml │ ├── Gradle__com_squareup_javawriter_2_1_1_jar.xml │ ├── Gradle__com_squareup_okhttp3_okhttp_3_10_0_jar.xml │ ├── Gradle__com_squareup_okio_okio_1_14_0_jar.xml │ ├── Gradle__com_squareup_picasso_picasso_2_71828_aar.xml │ ├── Gradle__javax_inject_javax_inject_1_jar.xml │ ├── Gradle__junit_junit_4_12_jar.xml │ ├── Gradle__org_hamcrest_hamcrest_core_1_3_jar.xml │ ├── Gradle__org_hamcrest_hamcrest_integration_1_3_jar.xml │ └── Gradle__org_hamcrest_hamcrest_library_1_3_jar.xml ├── misc.xml ├── modules.xml ├── runConfigurations.xml ├── vcs.xml └── workspace.xml ├── BlurShadowImageView.iml ├── LICENSE ├── README.md ├── apk ├── BlurShadow.apk ├── BlurShadow_v1_branch.apk ├── app_barcode.PNG └── preview │ ├── app_icon_demo.jpg │ ├── app_icon_demo.png │ ├── app_icon_demo_app.png │ ├── app_icon_title.jpg │ ├── app_icon_title.png │ ├── app_load_online.gif │ ├── app_preview_offset-max.png │ ├── app_preview_offset.jpg │ └── app_preview_offset.png ├── app ├── .gitignore ├── app.iml ├── build.gradle ├── proguard-rules.pro └── src │ └── main │ ├── AndroidManifest.xml │ ├── java │ └── me │ │ └── virtualiz │ │ └── blurshadowimageviewEx │ │ └── MainActivity.java │ └── res │ ├── drawable │ ├── background_green_round_touchlistner.xml │ ├── background_green_round_touchlistner_presses.xml │ ├── background_green_round_touchlistner_selector.xml │ ├── background_white_round_touchlistner.xml │ ├── background_white_round_touchlistner_presses.xml │ ├── background_white_round_touchlistner_selector.xml │ ├── github.xml │ ├── ironman.png │ ├── ironman_80.png │ ├── lambo.png │ ├── nature.png │ ├── product_garments.png │ └── product_shoes.png │ ├── layout │ └── activity_main.xml │ ├── mipmap-hdpi │ ├── ic_launcher.png │ └── ic_launcher_round.png │ ├── mipmap-mdpi │ ├── ic_launcher.png │ └── ic_launcher_round.png │ ├── mipmap-xhdpi │ ├── ic_launcher.png │ └── ic_launcher_round.png │ ├── mipmap-xxhdpi │ ├── ic_launcher.png │ └── ic_launcher_round.png │ ├── mipmap-xxxhdpi │ ├── ic_launcher.png │ └── ic_launcher_round.png │ └── values │ ├── colors.xml │ ├── strings.xml │ └── styles.xml ├── build.gradle ├── gradle.properties ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat ├── library ├── .gitignore ├── build.gradle ├── library.iml ├── proguard-rules.pro └── src │ ├── androidTest │ └── java │ │ └── me │ │ └── virtualiz │ │ └── blurshadowimageview │ │ └── ExampleInstrumentedTest.java │ ├── main │ ├── AndroidManifest.xml │ ├── java │ │ └── me │ │ │ └── virtualiz │ │ │ └── blurshadowimageview │ │ │ ├── BlurShadowImageView.java │ │ │ └── helper │ │ │ ├── FadingImageView.java │ │ │ └── RoundImageView.java │ └── res │ │ └── values │ │ ├── attr.xml │ │ └── strings.xml │ └── test │ └── java │ └── me │ └── virtualiz │ └── blurshadowimageview │ └── ExampleUnitTest.java ├── local.properties └── settings.gradle /.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | * text=auto 3 | 4 | # Custom for gitattributes 5 | 6 | -------------------------------------------------------------------------------- /.gradle/5.6.4/executionHistory/executionHistory.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/virtualvivek/BlurShadowImageView/1883d2f62187f9c6c7eb2e71b65e811a25d3e0e9/.gradle/5.6.4/executionHistory/executionHistory.bin -------------------------------------------------------------------------------- /.gradle/5.6.4/executionHistory/executionHistory.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/virtualvivek/BlurShadowImageView/1883d2f62187f9c6c7eb2e71b65e811a25d3e0e9/.gradle/5.6.4/executionHistory/executionHistory.lock -------------------------------------------------------------------------------- /.gradle/5.6.4/fileChanges/last-build.bin: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.gradle/5.6.4/fileContent/fileContent.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/virtualvivek/BlurShadowImageView/1883d2f62187f9c6c7eb2e71b65e811a25d3e0e9/.gradle/5.6.4/fileContent/fileContent.lock -------------------------------------------------------------------------------- /.gradle/5.6.4/fileHashes/fileHashes.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/virtualvivek/BlurShadowImageView/1883d2f62187f9c6c7eb2e71b65e811a25d3e0e9/.gradle/5.6.4/fileHashes/fileHashes.bin -------------------------------------------------------------------------------- /.gradle/5.6.4/fileHashes/fileHashes.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/virtualvivek/BlurShadowImageView/1883d2f62187f9c6c7eb2e71b65e811a25d3e0e9/.gradle/5.6.4/fileHashes/fileHashes.lock -------------------------------------------------------------------------------- /.gradle/5.6.4/fileHashes/resourceHashesCache.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/virtualvivek/BlurShadowImageView/1883d2f62187f9c6c7eb2e71b65e811a25d3e0e9/.gradle/5.6.4/fileHashes/resourceHashesCache.bin -------------------------------------------------------------------------------- /.gradle/5.6.4/gc.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/virtualvivek/BlurShadowImageView/1883d2f62187f9c6c7eb2e71b65e811a25d3e0e9/.gradle/5.6.4/gc.properties -------------------------------------------------------------------------------- /.gradle/5.6.4/javaCompile/classAnalysis.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/virtualvivek/BlurShadowImageView/1883d2f62187f9c6c7eb2e71b65e811a25d3e0e9/.gradle/5.6.4/javaCompile/classAnalysis.bin -------------------------------------------------------------------------------- /.gradle/5.6.4/javaCompile/jarAnalysis.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/virtualvivek/BlurShadowImageView/1883d2f62187f9c6c7eb2e71b65e811a25d3e0e9/.gradle/5.6.4/javaCompile/jarAnalysis.bin -------------------------------------------------------------------------------- /.gradle/5.6.4/javaCompile/javaCompile.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/virtualvivek/BlurShadowImageView/1883d2f62187f9c6c7eb2e71b65e811a25d3e0e9/.gradle/5.6.4/javaCompile/javaCompile.lock -------------------------------------------------------------------------------- /.gradle/5.6.4/javaCompile/taskHistory.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/virtualvivek/BlurShadowImageView/1883d2f62187f9c6c7eb2e71b65e811a25d3e0e9/.gradle/5.6.4/javaCompile/taskHistory.bin -------------------------------------------------------------------------------- /.gradle/buildOutputCleanup/buildOutputCleanup.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/virtualvivek/BlurShadowImageView/1883d2f62187f9c6c7eb2e71b65e811a25d3e0e9/.gradle/buildOutputCleanup/buildOutputCleanup.lock -------------------------------------------------------------------------------- /.gradle/buildOutputCleanup/cache.properties: -------------------------------------------------------------------------------- 1 | #Sat Apr 10 01:28:44 IST 2021 2 | gradle.version=5.6.4 3 | -------------------------------------------------------------------------------- /.gradle/buildOutputCleanup/outputFiles.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/virtualvivek/BlurShadowImageView/1883d2f62187f9c6c7eb2e71b65e811a25d3e0e9/.gradle/buildOutputCleanup/outputFiles.bin -------------------------------------------------------------------------------- /.gradle/vcs-1/gc.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/virtualvivek/BlurShadowImageView/1883d2f62187f9c6c7eb2e71b65e811a25d3e0e9/.gradle/vcs-1/gc.properties -------------------------------------------------------------------------------- /.idea/caches/build_file_checksums.ser: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/virtualvivek/BlurShadowImageView/1883d2f62187f9c6c7eb2e71b65e811a25d3e0e9/.idea/caches/build_file_checksums.ser -------------------------------------------------------------------------------- /.idea/codeStyles/Project.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 7 | 8 | 9 |
10 | 11 | 12 | 13 | xmlns:android 14 | 15 | ^$ 16 | 17 | 18 | 19 |
20 |
21 | 22 | 23 | 24 | xmlns:.* 25 | 26 | ^$ 27 | 28 | 29 | BY_NAME 30 | 31 |
32 |
33 | 34 | 35 | 36 | .*:id 37 | 38 | http://schemas.android.com/apk/res/android 39 | 40 | 41 | 42 |
43 |
44 | 45 | 46 | 47 | .*:name 48 | 49 | http://schemas.android.com/apk/res/android 50 | 51 | 52 | 53 |
54 |
55 | 56 | 57 | 58 | name 59 | 60 | ^$ 61 | 62 | 63 | 64 |
65 |
66 | 67 | 68 | 69 | style 70 | 71 | ^$ 72 | 73 | 74 | 75 |
76 |
77 | 78 | 79 | 80 | .* 81 | 82 | ^$ 83 | 84 | 85 | BY_NAME 86 | 87 |
88 |
89 | 90 | 91 | 92 | .* 93 | 94 | http://schemas.android.com/apk/res/android 95 | 96 | 97 | ANDROID_ATTRIBUTE_ORDER 98 | 99 |
100 |
101 | 102 | 103 | 104 | .* 105 | 106 | .* 107 | 108 | 109 | BY_NAME 110 | 111 |
112 |
113 |
114 |
115 |
116 |
-------------------------------------------------------------------------------- /.idea/compiler.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /.idea/copyright/profiles_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /.idea/gradle.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 22 | 23 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__androidx_activity_activity_1_0_0_aar.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__androidx_annotation_annotation_1_1_0_jar.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__androidx_annotation_annotation_experimental_1_0_0_aar.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__androidx_appcompat_appcompat_1_2_0_aar.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__androidx_appcompat_appcompat_resources_1_2_0_aar.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__androidx_arch_core_core_common_2_1_0_jar.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__androidx_arch_core_core_runtime_2_0_0_aar.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__androidx_asynclayoutinflater_asynclayoutinflater_1_0_0_aar.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__androidx_cardview_cardview_1_0_0_aar.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__androidx_collection_collection_1_1_0_jar.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__androidx_constraintlayout_constraintlayout_2_0_1_aar.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__androidx_constraintlayout_constraintlayout_solver_2_0_1_jar.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__androidx_coordinatorlayout_coordinatorlayout_1_0_0_aar.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__androidx_coordinatorlayout_coordinatorlayout_1_1_0_aar.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__androidx_core_core_1_3_0_aar.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__androidx_core_core_1_3_1_aar.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__androidx_cursoradapter_cursoradapter_1_0_0_aar.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__androidx_customview_customview_1_0_0_aar.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__androidx_documentfile_documentfile_1_0_0_aar.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__androidx_drawerlayout_drawerlayout_1_0_0_aar.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__androidx_exifinterface_exifinterface_1_0_0_aar.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__androidx_fragment_fragment_1_1_0_aar.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__androidx_interpolator_interpolator_1_0_0_aar.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__androidx_legacy_legacy_support_core_ui_1_0_0_aar.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__androidx_legacy_legacy_support_core_utils_1_0_0_aar.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__androidx_legacy_legacy_support_v4_1_0_0_aar.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__androidx_lifecycle_lifecycle_common_2_1_0_jar.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__androidx_lifecycle_lifecycle_livedata_2_0_0_aar.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__androidx_lifecycle_lifecycle_livedata_core_2_0_0_aar.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__androidx_lifecycle_lifecycle_runtime_2_1_0_aar.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__androidx_lifecycle_lifecycle_viewmodel_2_1_0_aar.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__androidx_loader_loader_1_0_0_aar.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__androidx_localbroadcastmanager_localbroadcastmanager_1_0_0_aar.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__androidx_media_media_1_0_0_aar.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__androidx_print_print_1_0_0_aar.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__androidx_recyclerview_recyclerview_1_1_0_aar.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__androidx_savedstate_savedstate_1_0_0_aar.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__androidx_slidingpanelayout_slidingpanelayout_1_0_0_aar.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__androidx_swiperefreshlayout_swiperefreshlayout_1_0_0_aar.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__androidx_test_core_1_3_0_aar.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__androidx_test_espresso_espresso_core_3_3_0_aar.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__androidx_test_espresso_espresso_idling_resource_3_3_0_aar.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__androidx_test_ext_junit_1_1_2_aar.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__androidx_test_monitor_1_3_0_aar.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__androidx_test_runner_1_3_0_aar.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__androidx_transition_transition_1_2_0_aar.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__androidx_vectordrawable_vectordrawable_1_1_0_aar.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__androidx_vectordrawable_vectordrawable_animated_1_1_0_aar.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__androidx_versionedparcelable_versionedparcelable_1_1_0_aar.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__androidx_viewpager2_viewpager2_1_0_0_aar.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__androidx_viewpager_viewpager_1_0_0_aar.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__com_google_android_material_material_1_2_0_aar.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__com_google_code_findbugs_jsr305_2_0_1_jar.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__com_squareup_javawriter_2_1_1_jar.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__com_squareup_okhttp3_okhttp_3_10_0_jar.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__com_squareup_okio_okio_1_14_0_jar.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__com_squareup_picasso_picasso_2_71828_aar.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__javax_inject_javax_inject_1_jar.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__junit_junit_4_12_jar.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3_jar.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__org_hamcrest_hamcrest_integration_1_3_jar.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__org_hamcrest_hamcrest_library_1_3_jar.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 27 | 44 | 45 | 46 | 47 | 48 | 49 | 51 | 52 | 53 | 54 | 55 | 56 | 61 | 62 | 63 | 64 | 65 | 66 | -------------------------------------------------------------------------------- /.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /.idea/runConfigurations.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 11 | 12 | -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /.idea/workspace.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 33 | 34 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 90 | 91 | 92 | 93 | 98 | 99 | 100 | 101 | 119 | 126 | 127 | 129 | 130 | 137 | 138 | 139 | 188 | 189 | 194 | 195 | 200 | 201 | 209 | 210 | 211 | 212 | 213 | 214 | 215 | 216 | 1575278411678 217 | 221 | 222 | 223 | 224 | 235 | 236 | 237 | 240 | 243 | 244 | -------------------------------------------------------------------------------- /BlurShadowImageView.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2020 Vivek Verma 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 |

2 | 3 |

4 | 5 | 6 | Android 8 | 9 | 10 | 11 | MinSDK 13 | 14 | 15 | 16 | JitPack 18 | 19 | 20 | 21 | Codacy Badge 23 | 24 | 25 | 26 | Library Size 28 | 29 | 30 |

31 | 32 | 33 |

This library provides blurred drop shadows to ImageView similar to iOS backdrop shadows.Provides fast canvas draw as no renderscript needed .The similar shadow blurred effects can also be seen in iOS Music App.

34 | 35 |

36 | 37 | # Download Demo App 38 | 39 | Download the demo app .apk file here 40 | 41 | 42 | Demo App 44 | 45 | ## Scan to Download 46 | Demo App 47 | 48 | 49 | # Installation 50 | Add it in your root build.gradle at the end of repositories : 51 | ```gradle 52 | allprojects { 53 | repositories { 54 | ... 55 | maven { url 'https://jitpack.io' } 56 | } 57 | } 58 | ``` 59 | 60 | Add the following dependency to your app build.gradle file : 61 | ```gradle 62 | dependencies { 63 | implementation 'com.github.virtualvivek:BlurShadowImageView:4.0' 64 | } 65 | ``` 66 | 67 | # How to use 68 | ## Using Xml to config 69 | 70 | ```xml 71 | 79 | ``` 80 | 81 | ## Use Java code to config 82 | ```js 83 | BlurShadowImageView blurshadowimageview = findViewById(R.id.blurSImageView); 84 | 85 | //Sets Border Round Radius 86 | blurshadowimageview.setRound((int) value); 87 | 88 | //Sets Image Resource 89 | blurshadowimageview.setImageResource(ImgRes); 90 | 91 | //Sets Image Drawable 92 | blurshadowimageview.setImageDrawable(drawable); 93 | 94 | //Sets Image Bitmap 95 | blurshadowimageview.setImageBitmap(bitmap); 96 | 97 | ``` 98 | 99 | # Load image with Picasso 100 | 101 | 102 | 103 | 104 | ```js 105 | Target target = new Target() { 106 | @Override 107 | public void onBitmapLoaded(Bitmap bitmap, 108 | Picasso.LoadedFrom from) { 109 | // Bitmap is loaded, use Image here 110 | demo_img.setImageBitmap(bitmap); 111 | } 112 | @Override 113 | public void onBitmapFailed(Exception e, Drawable d) { 114 | // Fires if bitmap couldn't be loaded. 115 | } 116 | @Override 117 | public void onPrepareLoad(Drawable d){ 118 | // Fires bitmap on prepare. 119 | } 120 | }; 121 | 122 | //Use this target for the Picasso.into() method 123 | Picasso.get().load("https://i.imgur.com/DvpvklR.png").into(target); 124 | 125 | ``` 126 | 127 | 128 | # Image Blur Backdrop Offset 129 | 130 | 131 | 132 | 133 | 134 | # Documentation 135 | 136 | ```yaml 137 | app:v_imageSrc: "../refrence" 138 | ``` 139 | ```yaml 140 | app:v_imageRound: "(int)dp" 141 | ``` 142 | ```yaml 143 | app:v_shadowOffset: "(int)dp" 144 | ``` 145 | ```yaml 146 | android:scaleType: ["center","centerCrop","fitEnd","fitCenter","fitXY","centerInside","fitStart","matrix"] 147 | ``` 148 | 149 | |Name|Format|Default|Details| 150 | |:---:|:---:|:---:|:---:| 151 | |app:v_imageSrc |reference|image|sets image to the ImageView| 152 | |app:v_imageRound |dimension|10dp|sets border radius to the ImageView| 153 | |app:v_shadowOffset|dimension|40dp|configure the distance between the Image and the Shadow| 154 | |android:scaleType|string|"centerCrop"|configure the Image scaling| 155 | 156 | 157 | ## Find this library useful? :heart: 158 | Support it by joining [**stargazers**](https://github.com/virtualvivek/BlurShadowImageView/stargazers) for this repository. :star: 159 | 160 | # Branches 161 | Branch -version 4.x [ AndroidX ] Current Branch
162 | Branch -version 1.x Support Library View Branch 163 | 164 | # License 165 | 166 | BlurShadowImageView is licensed under `MIT license`. View [license](https://github.com/virtualvivek/BlurShadowImageView/blob/master/LICENSE).
167 | Copyright (c) 2020-24 [**Vivek Verma**](https://github.com/virtualvivek) 168 | -------------------------------------------------------------------------------- /apk/BlurShadow.apk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/virtualvivek/BlurShadowImageView/1883d2f62187f9c6c7eb2e71b65e811a25d3e0e9/apk/BlurShadow.apk -------------------------------------------------------------------------------- /apk/BlurShadow_v1_branch.apk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/virtualvivek/BlurShadowImageView/1883d2f62187f9c6c7eb2e71b65e811a25d3e0e9/apk/BlurShadow_v1_branch.apk -------------------------------------------------------------------------------- /apk/app_barcode.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/virtualvivek/BlurShadowImageView/1883d2f62187f9c6c7eb2e71b65e811a25d3e0e9/apk/app_barcode.PNG -------------------------------------------------------------------------------- /apk/preview/app_icon_demo.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/virtualvivek/BlurShadowImageView/1883d2f62187f9c6c7eb2e71b65e811a25d3e0e9/apk/preview/app_icon_demo.jpg -------------------------------------------------------------------------------- /apk/preview/app_icon_demo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/virtualvivek/BlurShadowImageView/1883d2f62187f9c6c7eb2e71b65e811a25d3e0e9/apk/preview/app_icon_demo.png -------------------------------------------------------------------------------- /apk/preview/app_icon_demo_app.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/virtualvivek/BlurShadowImageView/1883d2f62187f9c6c7eb2e71b65e811a25d3e0e9/apk/preview/app_icon_demo_app.png -------------------------------------------------------------------------------- /apk/preview/app_icon_title.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/virtualvivek/BlurShadowImageView/1883d2f62187f9c6c7eb2e71b65e811a25d3e0e9/apk/preview/app_icon_title.jpg -------------------------------------------------------------------------------- /apk/preview/app_icon_title.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/virtualvivek/BlurShadowImageView/1883d2f62187f9c6c7eb2e71b65e811a25d3e0e9/apk/preview/app_icon_title.png -------------------------------------------------------------------------------- /apk/preview/app_load_online.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/virtualvivek/BlurShadowImageView/1883d2f62187f9c6c7eb2e71b65e811a25d3e0e9/apk/preview/app_load_online.gif -------------------------------------------------------------------------------- /apk/preview/app_preview_offset-max.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/virtualvivek/BlurShadowImageView/1883d2f62187f9c6c7eb2e71b65e811a25d3e0e9/apk/preview/app_preview_offset-max.png -------------------------------------------------------------------------------- /apk/preview/app_preview_offset.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/virtualvivek/BlurShadowImageView/1883d2f62187f9c6c7eb2e71b65e811a25d3e0e9/apk/preview/app_preview_offset.jpg -------------------------------------------------------------------------------- /apk/preview/app_preview_offset.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/virtualvivek/BlurShadowImageView/1883d2f62187f9c6c7eb2e71b65e811a25d3e0e9/apk/preview/app_preview_offset.png -------------------------------------------------------------------------------- /app/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /app/app.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 10 | 11 | 12 | 13 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | 142 | 143 | 144 | 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | -------------------------------------------------------------------------------- /app/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: 'com.android.application' 2 | 3 | android { 4 | compileSdkVersion 29 5 | buildToolsVersion "29.0.3" 6 | 7 | compileOptions { 8 | sourceCompatibility JavaVersion.VERSION_1_8 9 | targetCompatibility JavaVersion.VERSION_1_8 10 | } 11 | 12 | 13 | defaultConfig { 14 | applicationId "me.virtualiz.blurshadowimageview" 15 | minSdkVersion 21 16 | targetSdkVersion 29 17 | versionCode 1 18 | versionName "1.1" 19 | vectorDrawables.useSupportLibrary = true 20 | testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" 21 | } 22 | buildTypes { 23 | release { 24 | minifyEnabled false 25 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' 26 | } 27 | } 28 | } 29 | 30 | dependencies { 31 | implementation fileTree(dir: 'libs', include: ['*.jar']) 32 | 33 | implementation 'androidx.appcompat:appcompat:1.2.0' 34 | implementation 'androidx.constraintlayout:constraintlayout:2.0.1' 35 | implementation 'com.google.android.material:material:1.2.0' 36 | implementation 'androidx.vectordrawable:vectordrawable:1.1.0' 37 | implementation 'androidx.legacy:legacy-support-v4:1.0.0' 38 | implementation 'com.squareup.picasso:picasso:2.71828' 39 | 40 | testImplementation 'junit:junit:4.12' 41 | androidTestImplementation 'androidx.test.ext:junit:1.1.2' 42 | androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0' 43 | 44 | implementation project(':library') 45 | } 46 | -------------------------------------------------------------------------------- /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 C:\Users\x\AppData\Local\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 | 19 | # Uncomment this to preserve the line number information for 20 | # debugging stack traces. 21 | #-keepattributes SourceFile,LineNumberTable 22 | 23 | # If you keep the line number information, uncomment this to 24 | # hide the original source file name. 25 | #-renamesourcefileattribute SourceFile 26 | -------------------------------------------------------------------------------- /app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 8 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /app/src/main/java/me/virtualiz/blurshadowimageviewEx/MainActivity.java: -------------------------------------------------------------------------------- 1 | package me.virtualiz.blurshadowimageviewEx; 2 | 3 | import android.content.Intent; 4 | import android.graphics.Bitmap; 5 | import android.graphics.drawable.Drawable; 6 | import android.net.Uri; 7 | import android.os.Bundle; 8 | import android.view.View; 9 | import android.widget.Button; 10 | import android.widget.TextView; 11 | import androidx.appcompat.app.AppCompatActivity; 12 | import com.squareup.picasso.Picasso; 13 | import com.squareup.picasso.Target; 14 | 15 | import me.virtualiz.blurshadowimageview.BlurShadowImageView; 16 | 17 | public class MainActivity extends AppCompatActivity { 18 | 19 | @Override 20 | protected void onCreate(Bundle savedInstanceState) { 21 | super.onCreate(savedInstanceState); 22 | setContentView(R.layout.activity_main); 23 | 24 | getSupportActionBar().hide(); 25 | 26 | Button buttonLink = findViewById(R.id.buttonLink); 27 | final BlurShadowImageView demo_img = findViewById(R.id.demo_img); 28 | Button load_image_button = findViewById(R.id.buttonLoadImg); 29 | 30 | 31 | demo_img.setImageResource(R.drawable.ironman_80); 32 | 33 | load_image_button.setOnClickListener((View v)-> { 34 | Target target = new Target() { 35 | @Override 36 | public void onBitmapLoaded(Bitmap bitmap, Picasso.LoadedFrom from) { 37 | // Bitmap is loaded, use image here 38 | demo_img.setImageBitmap(bitmap); 39 | } 40 | @Override 41 | public void onBitmapFailed(Exception e, Drawable d) { 42 | // Fires if bitmap couldn't be loaded. 43 | } 44 | @Override 45 | public void onPrepareLoad(Drawable d){ 46 | // Fires bitmap on prepare. 47 | } 48 | }; 49 | Picasso.get().load("https://i.imgur.com/DvpvklR.png").into(target); 50 | }); 51 | 52 | 53 | buttonLink.setOnClickListener((View v)-> { 54 | Uri uri = Uri.parse("https://www.github.com/virtualvivek/BlurShadowImageView"); 55 | Intent intent = new Intent(Intent.ACTION_VIEW, uri); 56 | startActivity(intent); 57 | }); 58 | 59 | 60 | 61 | TextView link_text = findViewById(R.id.link_text); 62 | link_text.setOnClickListener((View v)-> { 63 | Uri uri = Uri.parse("https://www.github.com/virtualvivek/BlurShadowImageView"); 64 | Intent intent = new Intent(Intent.ACTION_VIEW, uri); 65 | startActivity(intent); 66 | }); 67 | 68 | } 69 | } -------------------------------------------------------------------------------- /app/src/main/res/drawable/background_green_round_touchlistner.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/background_green_round_touchlistner_presses.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/background_green_round_touchlistner_selector.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/background_white_round_touchlistner.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/background_white_round_touchlistner_presses.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/background_white_round_touchlistner_selector.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/github.xml: -------------------------------------------------------------------------------- 1 | 6 | 13 | 16 | 19 | 20 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ironman.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/virtualvivek/BlurShadowImageView/1883d2f62187f9c6c7eb2e71b65e811a25d3e0e9/app/src/main/res/drawable/ironman.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/ironman_80.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/virtualvivek/BlurShadowImageView/1883d2f62187f9c6c7eb2e71b65e811a25d3e0e9/app/src/main/res/drawable/ironman_80.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/lambo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/virtualvivek/BlurShadowImageView/1883d2f62187f9c6c7eb2e71b65e811a25d3e0e9/app/src/main/res/drawable/lambo.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/nature.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/virtualvivek/BlurShadowImageView/1883d2f62187f9c6c7eb2e71b65e811a25d3e0e9/app/src/main/res/drawable/nature.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/product_garments.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/virtualvivek/BlurShadowImageView/1883d2f62187f9c6c7eb2e71b65e811a25d3e0e9/app/src/main/res/drawable/product_garments.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/product_shoes.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/virtualvivek/BlurShadowImageView/1883d2f62187f9c6c7eb2e71b65e811a25d3e0e9/app/src/main/res/drawable/product_shoes.png -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_main.xml: -------------------------------------------------------------------------------- 1 | 2 | 10 | 11 | 18 | 26 | 27 | 28 | 32 | 33 | 37 | 38 | 47 | 48 | 57 | 58 | 65 | 66 | 75 | 76 | 77 |