{"action":"created","issue":{"url":"https://api.github.com/repos/crazycodeboy/TakePhoto/issues/87","repository_url":"https://api.github.com/repos/crazycodeboy/TakePhoto","labels_url":"https://api.github.com/repos/crazycodeboy/TakePhoto/issues/87/labels{/name}","comments_url":"https://api.github.com/repos/crazycodeboy/TakePhoto/issues/87/comments","events_url":"https://api.github.com/repos/crazycodeboy/TakePhoto/issues/87/events","html_url":"https://github.com/crazycodeboy/TakePhoto/issues/87","id":190933292,"number":87,"title":"请问作者，怎么设置圆形裁剪呢","user":{"login":"blackbai11","id":17706160,"avatar_url":"https://avatars.githubusercontent.com/u/17706160?v=3","gravatar_id":"","url":"https://api.github.com/users/blackbai11","html_url":"https://github.com/blackbai11","followers_url":"https://api.github.com/users/blackbai11/followers","following_url":"https://api.github.com/users/blackbai11/following{/other_user}","gists_url":"https://api.github.com/users/blackbai11/gists{/gist_id}","starred_url":"https://api.github.com/users/blackbai11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blackbai11/subscriptions","organizations_url":"https://api.github.com/users/blackbai11/orgs","repos_url":"https://api.github.com/users/blackbai11/repos","events_url":"https://api.github.com/users/blackbai11/events{/privacy}","received_events_url":"https://api.github.com/users/blackbai11/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-11-22T08:15:47Z","updated_at":"2016-12-13T02:46:36Z","closed_at":null,"body":"我在自定义裁剪UI里找到了这个CropImageView，可是设置showCircle并没有用，请问该怎么实现圆形裁剪呢"},"comment":{"url":"https://api.github.com/repos/crazycodeboy/TakePhoto/issues/comments/266620351","html_url":"https://github.com/crazycodeboy/TakePhoto/issues/87#issuecomment-266620351","issue_url":"https://api.github.com/repos/crazycodeboy/TakePhoto/issues/87","id":266620351,"user":{"login":"ypf168326","id":7865375,"avatar_url":"https://avatars.githubusercontent.com/u/7865375?v=3","gravatar_id":"","url":"https://api.github.com/users/ypf168326","html_url":"https://github.com/ypf168326","followers_url":"https://api.github.com/users/ypf168326/followers","following_url":"https://api.github.com/users/ypf168326/following{/other_user}","gists_url":"https://api.github.com/users/ypf168326/gists{/gist_id}","starred_url":"https://api.github.com/users/ypf168326/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ypf168326/subscriptions","organizations_url":"https://api.github.com/users/ypf168326/orgs","repos_url":"https://api.github.com/users/ypf168326/repos","events_url":"https://api.github.com/users/ypf168326/events{/privacy}","received_events_url":"https://api.github.com/users/ypf168326/received_events","type":"User","site_admin":false},"created_at":"2016-12-13T02:46:36Z","updated_at":"2016-12-13T02:46:36Z","body":"@blackbai11 在项目首页不是有那个自定义裁剪工具的两个配置文件吗？我就是把那两个布局文件拷贝到项目的layout目录下，然后在程序中启用第三方裁剪工具\r\nprivate CropOptions getCropOptions() {\r\n        CropOptions.Builder builder = new CropOptions.Builder();\r\n        builder.setAspectX(1).setAspectY(1);\r\n        builder.setWithOwnCrop(false);//设置这个为false\r\n        return builder.create();\r\n    }\r\n然后运行程序就自动出现圆形的框了。"}}
{"actor":{"display_login":"ypf168326"}}