{"id":13644924,"url":"https://github.com/Airsaid/DiffuseView","last_synced_at":"2025-04-21T10:34:56.950Z","repository":{"id":110284873,"uuid":"69341086","full_name":"Airsaid/DiffuseView","owner":"Airsaid","description":"This is a circle on the proliferation of Android custom view.","archived":false,"fork":false,"pushed_at":"2017-05-11T09:48:56.000Z","size":527,"stargazers_count":118,"open_issues_count":0,"forks_count":34,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-11-09T17:42:37.765Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/Airsaid.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,"governance":null,"roadmap":null,"authors":null}},"created_at":"2016-09-27T09:32:43.000Z","updated_at":"2024-03-04T10:01:15.000Z","dependencies_parsed_at":"2023-03-16T10:15:43.308Z","dependency_job_id":null,"html_url":"https://github.com/Airsaid/DiffuseView","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/Airsaid%2FDiffuseView","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Airsaid%2FDiffuseView/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Airsaid%2FDiffuseView/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Airsaid%2FDiffuseView/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Airsaid","download_url":"https://codeload.github.com/Airsaid/DiffuseView/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250041012,"owners_count":21365200,"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":[],"created_at":"2024-08-02T01:02:19.618Z","updated_at":"2025-04-21T10:34:51.941Z","avatar_url":"https://github.com/Airsaid.png","language":"Java","readme":"# DiffuseView\nThis is a circle on the proliferation of Android custom view.（这是Android平台上一个自定义的圆形扩散View。）\n\n# 实现效果\n![](https://github.com/Airsaid/DiffuseView/blob/master/DiffuseView.gif)  \n\n# 使用\nXML中：\n```\n\u003ccom.airsaid.diffuseview.widget.DiffuseView\n        android:id=\"@+id/diffuseView\"\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"0dp\"\n        android:layout_weight=\"1\"\n        app:diffuse_color=\"@color/colorAccent\"\n        app:diffuse_coreColor=\"@color/colorPrimaryDark\"\n        app:diffuse_coreImage=\"@android:drawable/ic_menu_search\"\n        app:diffuse_coreRadius=\"100\"\n        app:diffuse_maxWidth=\"300\"\n        app:diffuse_speed=\"5\"\n        app:diffuse_width=\"4\"/\u003e\n```\n代码中：\n```\nDiffuseView mDiffuseView = (DiffuseView) findViewById(R.id.diffuseView);\nmDiffuseView.start(); // 开始扩散\nmDiffuseView.stop();// 停止扩散\n```\n\n# 属性\u0026方法\n| 属性名|java方法| 作用 |\n|------------|-----------|--------|\n| diffuse_color| setColor(int colorId)|设置扩散圆颜色 |\n| diffuse_coreColor| setCoreColor(int colorId)|设置中心圆颜色 |\n| diffuse_coreImage| setCoreImage(int imageId)|设置中心圆图片 |\n| diffuse_coreRadius| setCoreRadius(int radius)|设置中心圆半径 |\n| diffuse_maxWidth| setMaxWidth(int maxWidth)|设置最大扩散宽度 |\n| diffuse_width| setDiffuseWidth(int width)|设置扩散圆宽度,值越小越宽 |\n| diffuse_speed| setDiffuseSpeed(int speed)|设置扩散速度 |\n\n# 联系我\n[我的博客](http://blog.csdn.net/airsaid \"http://blog.csdn.net/airsaid\")  \n\n# 感谢\n\u003e http://www.kancloud.cn/digest/liuguilin/120373\n","funding_links":[],"categories":["Wave"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAirsaid%2FDiffuseView","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FAirsaid%2FDiffuseView","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAirsaid%2FDiffuseView/lists"}