{"id":18088571,"url":"https://github.com/taoweiji/imageviewex","last_synced_at":"2025-08-09T05:07:11.830Z","repository":{"id":57734982,"uuid":"211451142","full_name":"taoweiji/ImageViewEx","owner":"taoweiji","description":"提供圆角、占位图、边框功能、Fresco 替换方案","archived":false,"fork":false,"pushed_at":"2021-08-27T06:22:20.000Z","size":2349,"stargazers_count":15,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-13T03:18:16.048Z","etag":null,"topics":["android","fresco","imageview"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/taoweiji.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-09-28T05:49:22.000Z","updated_at":"2021-11-21T08:50:00.000Z","dependencies_parsed_at":"2022-08-24T07:20:49.115Z","dependency_job_id":null,"html_url":"https://github.com/taoweiji/ImageViewEx","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/taoweiji/ImageViewEx","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taoweiji%2FImageViewEx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taoweiji%2FImageViewEx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taoweiji%2FImageViewEx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taoweiji%2FImageViewEx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/taoweiji","download_url":"https://codeload.github.com/taoweiji/ImageViewEx/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taoweiji%2FImageViewEx/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269532365,"owners_count":24433271,"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","status":"online","status_checked_at":"2025-08-09T02:00:10.424Z","response_time":111,"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","fresco","imageview"],"created_at":"2024-10-31T17:13:46.340Z","updated_at":"2025-08-09T05:07:11.784Z","avatar_url":"https://github.com/taoweiji.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\n# 增强型ImageViewEx，提供圆角、边框功能、Fresco 替换其他图片框架方案\n\n[![Maven Central](https://img.shields.io/maven-central/v/io.github.taoweiji.image/image)](https://search.maven.org/search?q=io.github.taoweiji.image)\n\n\n1. 提供替换Fresco框架的 SimpleDraweeView\n2. 支持设置占位图\n3. 支持设置四个圆角\n4. 支持圆圈\n5. 支持设置边框宽度，颜色\n\n##### 引入项目\n\n```\napi 'io.github.taoweiji.image:ImageViewEx:+'\n```\n替换 Fresco 的 SimpleDraweeView 类\n```\napi 'io.github.taoweiji.image:SimpleDraweeView:+'\n```\n\n##### 使用\n```xml\n\u003c?xml version=\"1.0\" encoding=\"utf-8\"?\u003e\n\u003cLinearLayout xmlns:android=\"http://schemas.android.com/apk/res/android\"\n    xmlns:app=\"http://schemas.android.com/apk/res-auto\"\n    android:layout_width=\"match_parent\"\n    android:layout_height=\"match_parent\"\u003e\n\n    \u003ccom.taoweiji.image.ImageViewEx\n        android:layout_width=\"100dp\"\n        android:layout_height=\"100dp\"\n        android:layout_margin=\"10dp\"\n        android:scaleType=\"fitCenter\"\n        android:src=\"@drawable/ic_launcher\"\n        app:imageViewEx_asCircle=\"false\"\n        app:imageViewEx_borderColor=\"@color/colorAccent\"\n        app:imageViewEx_borderWidth=\"5dp\"\n        app:imageViewEx_roundBottomLeft=\"false\"\n        app:imageViewEx_roundCornerRadius=\"20dp\"\n        app:imageViewEx_roundTopRight=\"false\" /\u003e\n\u003c/LinearLayout\u003e\n\n```\n\n\n##### 效果\n\u003cimg src=\"example_01.png\" style=\"zoom:30%;\" /\u003e\n\n\n\n## License\n\n    Copyright 2019 taoweiji\n    \n    Licensed under the Apache License, Version 2.0 (the \"License\");\n    you may not use this file except in compliance with the License.\n    You may obtain a copy of the License at\n    \n       http://www.apache.org/licenses/LICENSE-2.0\n    \n    Unless required by applicable law or agreed to in writing, software\n    distributed under the License is distributed on an \"AS IS\" BASIS,\n    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n    See the License for the specific language governing permissions and\n    limitations under the License.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftaoweiji%2Fimageviewex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftaoweiji%2Fimageviewex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftaoweiji%2Fimageviewex/lists"}