{"action":"created","comment":{"url":"https://api.github.com/repos/zhihu/Matisse/pulls/comments/117743438","pull_request_review_id":39474107,"id":117743438,"diff_hunk":"@@ -188,7 +192,11 @@ private void initBackgroundPaint() {\n             mBackgroundPaint = new Paint();\n             mBackgroundPaint.setAntiAlias(true);\n             mBackgroundPaint.setStyle(Paint.Style.FILL);\n-            mBackgroundPaint.setColor(Color.parseColor(\"#1E8AE8\"));\n+            TypedArray ta = getContext().getTheme()\n+                    .obtainStyledAttributes(new int[]{R.attr.item_checkCircle_backgroundColor});\n+            int color = ta.getColor(0, 0);","path":"matisse/src/main/java/com/zhihu/matisse/internal/ui/widget/CheckView.java","position":27,"original_position":27,"commit_id":"989f6c86669140868ef13b80a8f8a8a6200b363e","original_commit_id":"989f6c86669140868ef13b80a8f8a8a6200b363e","user":{"login":"gejiaheng","id":3777021,"avatar_url":"https://avatars3.githubusercontent.com/u/3777021?v=3","gravatar_id":"","url":"https://api.github.com/users/gejiaheng","html_url":"https://github.com/gejiaheng","followers_url":"https://api.github.com/users/gejiaheng/followers","following_url":"https://api.github.com/users/gejiaheng/following{/other_user}","gists_url":"https://api.github.com/users/gejiaheng/gists{/gist_id}","starred_url":"https://api.github.com/users/gejiaheng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gejiaheng/subscriptions","organizations_url":"https://api.github.com/users/gejiaheng/orgs","repos_url":"https://api.github.com/users/gejiaheng/repos","events_url":"https://api.github.com/users/gejiaheng/events{/privacy}","received_events_url":"https://api.github.com/users/gejiaheng/received_events","type":"User","site_admin":false},"body":"I think this PR will update automatically if you push new code to the same branch which is `M3psipax:master`.","created_at":"2017-05-22T13:23:30Z","updated_at":"2017-05-22T13:23:31Z","html_url":"https://github.com/zhihu/Matisse/pull/67#discussion_r117743438","pull_request_url":"https://api.github.com/repos/zhihu/Matisse/pulls/67","_links":{"self":{"href":"https://api.github.com/repos/zhihu/Matisse/pulls/comments/117743438"},"html":{"href":"https://github.com/zhihu/Matisse/pull/67#discussion_r117743438"},"pull_request":{"href":"https://api.github.com/repos/zhihu/Matisse/pulls/67"}}},"pull_request":{"url":"https://api.github.com/repos/zhihu/Matisse/pulls/67","id":121306637,"html_url":"https://github.com/zhihu/Matisse/pull/67","diff_url":"https://github.com/zhihu/Matisse/pull/67.diff","patch_url":"https://github.com/zhihu/Matisse/pull/67.patch","issue_url":"https://api.github.com/repos/zhihu/Matisse/issues/67","number":67,"state":"open","locked":false,"title":"make the check circle and its color themeable","user":{"login":"M3psipax","id":15832631,"avatar_url":"https://avatars2.githubusercontent.com/u/15832631?v=3","gravatar_id":"","url":"https://api.github.com/users/M3psipax","html_url":"https://github.com/M3psipax","followers_url":"https://api.github.com/users/M3psipax/followers","following_url":"https://api.github.com/users/M3psipax/following{/other_user}","gists_url":"https://api.github.com/users/M3psipax/gists{/gist_id}","starred_url":"https://api.github.com/users/M3psipax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/M3psipax/subscriptions","organizations_url":"https://api.github.com/users/M3psipax/orgs","repos_url":"https://api.github.com/users/M3psipax/repos","events_url":"https://api.github.com/users/M3psipax/events{/privacy}","received_events_url":"https://api.github.com/users/M3psipax/received_events","type":"User","site_admin":false},"body":"Please accept this PR to expose two new style attributes in order to be able to change the color of the circle which is used to select an image.\r\n\r\n\"item.checkCircle.backgroundColor\"\r\n\"item.checkCircle.borderColor\"","created_at":"2017-05-18T15:04:59Z","updated_at":"2017-05-22T13:23:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6011248a474dd878263ef5e5990e790ccfbd08a7","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/zhihu/Matisse/pulls/67/commits","review_comments_url":"https://api.github.com/repos/zhihu/Matisse/pulls/67/comments","review_comment_url":"https://api.github.com/repos/zhihu/Matisse/pulls/comments{/number}","comments_url":"https://api.github.com/repos/zhihu/Matisse/issues/67/comments","statuses_url":"https://api.github.com/repos/zhihu/Matisse/statuses/989f6c86669140868ef13b80a8f8a8a6200b363e","head":{"label":"M3psipax:master","ref":"master","sha":"989f6c86669140868ef13b80a8f8a8a6200b363e","user":{"login":"M3psipax","id":15832631,"avatar_url":"https://avatars2.githubusercontent.com/u/15832631?v=3","gravatar_id":"","url":"https://api.github.com/users/M3psipax","html_url":"https://github.com/M3psipax","followers_url":"https://api.github.com/users/M3psipax/followers","following_url":"https://api.github.com/users/M3psipax/following{/other_user}","gists_url":"https://api.github.com/users/M3psipax/gists{/gist_id}","starred_url":"https://api.github.com/users/M3psipax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/M3psipax/subscriptions","organizations_url":"https://api.github.com/users/M3psipax/orgs","repos_url":"https://api.github.com/users/M3psipax/repos","events_url":"https://api.github.com/users/M3psipax/events{/privacy}","received_events_url":"https://api.github.com/users/M3psipax/received_events","type":"User","site_admin":false},"repo":{"id":91695516,"name":"Matisse","full_name":"M3psipax/Matisse","owner":{"login":"M3psipax","id":15832631,"avatar_url":"https://avatars2.githubusercontent.com/u/15832631?v=3","gravatar_id":"","url":"https://api.github.com/users/M3psipax","html_url":"https://github.com/M3psipax","followers_url":"https://api.github.com/users/M3psipax/followers","following_url":"https://api.github.com/users/M3psipax/following{/other_user}","gists_url":"https://api.github.com/users/M3psipax/gists{/gist_id}","starred_url":"https://api.github.com/users/M3psipax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/M3psipax/subscriptions","organizations_url":"https://api.github.com/users/M3psipax/orgs","repos_url":"https://api.github.com/users/M3psipax/repos","events_url":"https://api.github.com/users/M3psipax/events{/privacy}","received_events_url":"https://api.github.com/users/M3psipax/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/M3psipax/Matisse","description":":fireworks: A well-designed local image and video selector for Android","fork":true,"url":"https://api.github.com/repos/M3psipax/Matisse","forks_url":"https://api.github.com/repos/M3psipax/Matisse/forks","keys_url":"https://api.github.com/repos/M3psipax/Matisse/keys{/key_id}","collaborators_url":"https://api.github.com/repos/M3psipax/Matisse/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/M3psipax/Matisse/teams","hooks_url":"https://api.github.com/repos/M3psipax/Matisse/hooks","issue_events_url":"https://api.github.com/repos/M3psipax/Matisse/issues/events{/number}","events_url":"https://api.github.com/repos/M3psipax/Matisse/events","assignees_url":"https://api.github.com/repos/M3psipax/Matisse/assignees{/user}","branches_url":"https://api.github.com/repos/M3psipax/Matisse/branches{/branch}","tags_url":"https://api.github.com/repos/M3psipax/Matisse/tags","blobs_url":"https://api.github.com/repos/M3psipax/Matisse/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/M3psipax/Matisse/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/M3psipax/Matisse/git/refs{/sha}","trees_url":"https://api.github.com/repos/M3psipax/Matisse/git/trees{/sha}","statuses_url":"https://api.github.com/repos/M3psipax/Matisse/statuses/{sha}","languages_url":"https://api.github.com/repos/M3psipax/Matisse/languages","stargazers_url":"https://api.github.com/repos/M3psipax/Matisse/stargazers","contributors_url":"https://api.github.com/repos/M3psipax/Matisse/contributors","subscribers_url":"https://api.github.com/repos/M3psipax/Matisse/subscribers","subscription_url":"https://api.github.com/repos/M3psipax/Matisse/subscription","commits_url":"https://api.github.com/repos/M3psipax/Matisse/commits{/sha}","git_commits_url":"https://api.github.com/repos/M3psipax/Matisse/git/commits{/sha}","comments_url":"https://api.github.com/repos/M3psipax/Matisse/comments{/number}","issue_comment_url":"https://api.github.com/repos/M3psipax/Matisse/issues/comments{/number}","contents_url":"https://api.github.com/repos/M3psipax/Matisse/contents/{+path}","compare_url":"https://api.github.com/repos/M3psipax/Matisse/compare/{base}...{head}","merges_url":"https://api.github.com/repos/M3psipax/Matisse/merges","archive_url":"https://api.github.com/repos/M3psipax/Matisse/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/M3psipax/Matisse/downloads","issues_url":"https://api.github.com/repos/M3psipax/Matisse/issues{/number}","pulls_url":"https://api.github.com/repos/M3psipax/Matisse/pulls{/number}","milestones_url":"https://api.github.com/repos/M3psipax/Matisse/milestones{/number}","notifications_url":"https://api.github.com/repos/M3psipax/Matisse/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/M3psipax/Matisse/labels{/name}","releases_url":"https://api.github.com/repos/M3psipax/Matisse/releases{/id}","deployments_url":"https://api.github.com/repos/M3psipax/Matisse/deployments","created_at":"2017-05-18T13:18:35Z","updated_at":"2017-05-18T13:18:37Z","pushed_at":"2017-05-18T14:54:45Z","git_url":"git://github.com/M3psipax/Matisse.git","ssh_url":"git@github.com:M3psipax/Matisse.git","clone_url":"https://github.com/M3psipax/Matisse.git","svn_url":"https://github.com/M3psipax/Matisse","homepage":"","size":1772,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"zhihu:master","ref":"master","sha":"bf5033ba7ed6710dba7928b2692678cc971373a9","user":{"login":"zhihu","id":409513,"avatar_url":"https://avatars3.githubusercontent.com/u/409513?v=3","gravatar_id":"","url":"https://api.github.com/users/zhihu","html_url":"https://github.com/zhihu","followers_url":"https://api.github.com/users/zhihu/followers","following_url":"https://api.github.com/users/zhihu/following{/other_user}","gists_url":"https://api.github.com/users/zhihu/gists{/gist_id}","starred_url":"https://api.github.com/users/zhihu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhihu/subscriptions","organizations_url":"https://api.github.com/users/zhihu/orgs","repos_url":"https://api.github.com/users/zhihu/repos","events_url":"https://api.github.com/users/zhihu/events{/privacy}","received_events_url":"https://api.github.com/users/zhihu/received_events","type":"Organization","site_admin":false},"repo":{"id":88111990,"name":"Matisse","full_name":"zhihu/Matisse","owner":{"login":"zhihu","id":409513,"avatar_url":"https://avatars3.githubusercontent.com/u/409513?v=3","gravatar_id":"","url":"https://api.github.com/users/zhihu","html_url":"https://github.com/zhihu","followers_url":"https://api.github.com/users/zhihu/followers","following_url":"https://api.github.com/users/zhihu/following{/other_user}","gists_url":"https://api.github.com/users/zhihu/gists{/gist_id}","starred_url":"https://api.github.com/users/zhihu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhihu/subscriptions","organizations_url":"https://api.github.com/users/zhihu/orgs","repos_url":"https://api.github.com/users/zhihu/repos","events_url":"https://api.github.com/users/zhihu/events{/privacy}","received_events_url":"https://api.github.com/users/zhihu/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/zhihu/Matisse","description":":fireworks: A well-designed local image and video selector for Android","fork":false,"url":"https://api.github.com/repos/zhihu/Matisse","forks_url":"https://api.github.com/repos/zhihu/Matisse/forks","keys_url":"https://api.github.com/repos/zhihu/Matisse/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zhihu/Matisse/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zhihu/Matisse/teams","hooks_url":"https://api.github.com/repos/zhihu/Matisse/hooks","issue_events_url":"https://api.github.com/repos/zhihu/Matisse/issues/events{/number}","events_url":"https://api.github.com/repos/zhihu/Matisse/events","assignees_url":"https://api.github.com/repos/zhihu/Matisse/assignees{/user}","branches_url":"https://api.github.com/repos/zhihu/Matisse/branches{/branch}","tags_url":"https://api.github.com/repos/zhihu/Matisse/tags","blobs_url":"https://api.github.com/repos/zhihu/Matisse/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zhihu/Matisse/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zhihu/Matisse/git/refs{/sha}","trees_url":"https://api.github.com/repos/zhihu/Matisse/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zhihu/Matisse/statuses/{sha}","languages_url":"https://api.github.com/repos/zhihu/Matisse/languages","stargazers_url":"https://api.github.com/repos/zhihu/Matisse/stargazers","contributors_url":"https://api.github.com/repos/zhihu/Matisse/contributors","subscribers_url":"https://api.github.com/repos/zhihu/Matisse/subscribers","subscription_url":"https://api.github.com/repos/zhihu/Matisse/subscription","commits_url":"https://api.github.com/repos/zhihu/Matisse/commits{/sha}","git_commits_url":"https://api.github.com/repos/zhihu/Matisse/git/commits{/sha}","comments_url":"https://api.github.com/repos/zhihu/Matisse/comments{/number}","issue_comment_url":"https://api.github.com/repos/zhihu/Matisse/issues/comments{/number}","contents_url":"https://api.github.com/repos/zhihu/Matisse/contents/{+path}","compare_url":"https://api.github.com/repos/zhihu/Matisse/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zhihu/Matisse/merges","archive_url":"https://api.github.com/repos/zhihu/Matisse/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zhihu/Matisse/downloads","issues_url":"https://api.github.com/repos/zhihu/Matisse/issues{/number}","pulls_url":"https://api.github.com/repos/zhihu/Matisse/pulls{/number}","milestones_url":"https://api.github.com/repos/zhihu/Matisse/milestones{/number}","notifications_url":"https://api.github.com/repos/zhihu/Matisse/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zhihu/Matisse/labels{/name}","releases_url":"https://api.github.com/repos/zhihu/Matisse/releases{/id}","deployments_url":"https://api.github.com/repos/zhihu/Matisse/deployments","created_at":"2017-04-13T01:31:05Z","updated_at":"2017-05-22T13:08:45Z","pushed_at":"2017-05-21T12:36:55Z","git_url":"git://github.com/zhihu/Matisse.git","ssh_url":"git@github.com:zhihu/Matisse.git","clone_url":"https://github.com/zhihu/Matisse.git","svn_url":"https://github.com/zhihu/Matisse","homepage":"","size":1779,"stargazers_count":2455,"watchers_count":2455,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":225,"mirror_url":null,"open_issues_count":17,"forks":225,"open_issues":17,"watchers":2455,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/zhihu/Matisse/pulls/67"},"html":{"href":"https://github.com/zhihu/Matisse/pull/67"},"issue":{"href":"https://api.github.com/repos/zhihu/Matisse/issues/67"},"comments":{"href":"https://api.github.com/repos/zhihu/Matisse/issues/67/comments"},"review_comments":{"href":"https://api.github.com/repos/zhihu/Matisse/pulls/67/comments"},"review_comment":{"href":"https://api.github.com/repos/zhihu/Matisse/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/zhihu/Matisse/pulls/67/commits"},"statuses":{"href":"https://api.github.com/repos/zhihu/Matisse/statuses/989f6c86669140868ef13b80a8f8a8a6200b363e"}}}}
{"actor":{"display_login":"gejiaheng"}}