{"id":15030043,"url":"https://github.com/yinglannull/shadowimageview","last_synced_at":"2026-10-19T08:01:27.703Z","repository":{"id":48031547,"uuid":"86147222","full_name":"yingLanNull/ShadowImageView","owner":"yingLanNull","description":"🔥可以根据图片内容变阴影颜色，更加细腻的阴影效果  It can change color according to the picture, more delicate shadow effect","archived":false,"fork":false,"pushed_at":"2018-05-23T08:26:45.000Z","size":8389,"stargazers_count":2615,"open_issues_count":8,"forks_count":302,"subscribers_count":43,"default_branch":"master","last_synced_at":"2026-08-31T13:17:38.699Z","etag":null,"topics":["android","image","java","shadow","ui","view"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yingLanNull.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-03-25T09:42:52.000Z","updated_at":"2026-07-12T11:06:43.000Z","dependencies_parsed_at":"2022-08-12T17:10:22.163Z","dependency_job_id":null,"html_url":"https://github.com/yingLanNull/ShadowImageView","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/yingLanNull/ShadowImageView","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yingLanNull%2FShadowImageView","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yingLanNull%2FShadowImageView/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yingLanNull%2FShadowImageView/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yingLanNull%2FShadowImageView/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yingLanNull","download_url":"https://codeload.github.com/yingLanNull/ShadowImageView/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yingLanNull%2FShadowImageView/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":344872684,"owners_count":38351721,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-10-03T21:59:58.778Z","status":"online","status_checked_at":"2026-10-19T02:00:06.414Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","image","java","shadow","ui","view"],"created_at":"2024-09-24T20:12:18.507Z","updated_at":"2026-10-19T08:01:27.130Z","avatar_url":"https://github.com/yingLanNull.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ShadowImageView\n## Abstract\n    More exquisite shadow effect, used in some special scene to enhance the user experience.\n\n## Chinese Documents\n[查看中文文档](https://github.com/yingLanNull/ShadowImageView/blob/master/READEME_CN.md)\n\n## Picture\n![1](https://github.com/yingLanNull/ShadowImageView/blob/master/show/shadow1.png)\n![2](https://github.com/yingLanNull/ShadowImageView/blob/master/show/shadow2.png)\n\n## GIF\n![1](https://github.com/yingLanNull/ShadowImageView/blob/master/show/shadow.gif)\n\n## Add Picture\n![3](https://github.com/yingLanNull/ShadowImageView/blob/master/show/shadowcolor.png)\n\n## Demo\n[Download App](https://github.com/yingLanNull/ShadowImageView/blob/master/show/app-debug.apk)\n\n## Usage\n\n#### Gradle\n```\ndependencies {\n    compile 'com.yinglan.shadowimageview:shadowimageview:1.0.4'\n}\n```\n\n### In layout\n\n```\n\t    \u003ccom.yinglan.shadowimageview.ShadowImageView\n\t            android:id=\"@+id/shadow\"\n                android:layout_width=\"300dp\"\n                android:layout_height=\"300dp\"\n                app:shadowRound=\"20dp\"\n                app:shadowSrc=\"@mipmap/lotus\"\n                app:shadowColor=\"@color/colorAccent\"/\u003e\n\n```\n\n### Set Picture\n```\n    shadow.setImageResource(resID); \n    shadow.setImageDrawable(drawable); \n    shadow.setImageBitmap(bitmap);\n```\n\n### Set the picture radius\n```\n    shadow.setImageRadius(radius);\n```\n### Set the shadow color of the image\n```\n    shadow.setImageShadowColor(color);\n```\n\n## Notice\n See[PPMusicImageShadow](https://github.com/PierrePerrin/PPMusicImageShadow),  do a simple implementation, there may be a potential problem and use learning exchanges, looking forward to you have a better way of implementation.\n\n## License\nThe work done has been licensed under Apache License 2.0. The license file can be found\n[here](LICENSE). You can find out more about the license at:\n\nhttp://www.apache.org/licenses/LICENSE-2.0","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyinglannull%2Fshadowimageview","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyinglannull%2Fshadowimageview","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyinglannull%2Fshadowimageview/lists"}