{"id":13643606,"url":"https://github.com/yingLanNull/ShadowImageView","last_synced_at":"2025-04-21T02:30:51.268Z","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":2623,"open_issues_count":8,"forks_count":303,"subscribers_count":44,"default_branch":"master","last_synced_at":"2025-04-14T01:06:27.662Z","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":"2025-03-23T00:55:49.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,"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","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248804803,"owners_count":21164134,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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-08-02T01:01:50.015Z","updated_at":"2025-04-21T02:30:46.249Z","avatar_url":"https://github.com/yingLanNull.png","language":"Java","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","funding_links":[],"categories":["ImageView"],"sub_categories":[],"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"}