{"action":"created","comment":{"url":"https://api.github.com/repos/Doist/AndroidMaterial/pulls/comments/28329354","id":28329354,"diff_hunk":"@@ -256,4 +350,21 @@ private static void initTextViewAttributes(Context context, MaterialResources re\n         }\n         return newStyleable;\n     }\n+\n+    private static int getThemeResId(Context context) {","path":"MaterialLibrary/src/main/java/io/doist/material/widget/utils/MaterialWidgetHandler.java","position":227,"original_position":227,"commit_id":"67019d1c9a10eed5c75c921b256df1e10a646666","original_commit_id":"67019d1c9a10eed5c75c921b256df1e10a646666","user":{"login":"jpmcosta","id":479016,"avatar_url":"https://avatars.githubusercontent.com/u/479016?v=3","gravatar_id":"","url":"https://api.github.com/users/jpmcosta","html_url":"https://github.com/jpmcosta","followers_url":"https://api.github.com/users/jpmcosta/followers","following_url":"https://api.github.com/users/jpmcosta/following{/other_user}","gists_url":"https://api.github.com/users/jpmcosta/gists{/gist_id}","starred_url":"https://api.github.com/users/jpmcosta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpmcosta/subscriptions","organizations_url":"https://api.github.com/users/jpmcosta/orgs","repos_url":"https://api.github.com/users/jpmcosta/repos","events_url":"https://api.github.com/users/jpmcosta/events{/privacy}","received_events_url":"https://api.github.com/users/jpmcosta/received_events","type":"User","site_admin":false},"body":"We can probably turn `MaterialResources$getThemeResId(Context)` into a public method. What do you think?","created_at":"2015-04-14T14:08:33Z","updated_at":"2015-04-14T14:08:33Z","html_url":"https://github.com/Doist/AndroidMaterial/pull/3#discussion_r28329354","pull_request_url":"https://api.github.com/repos/Doist/AndroidMaterial/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/Doist/AndroidMaterial/pulls/comments/28329354"},"html":{"href":"https://github.com/Doist/AndroidMaterial/pull/3#discussion_r28329354"},"pull_request":{"href":"https://api.github.com/repos/Doist/AndroidMaterial/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/Doist/AndroidMaterial/pulls/3","id":31638036,"html_url":"https://github.com/Doist/AndroidMaterial/pull/3","diff_url":"https://github.com/Doist/AndroidMaterial/pull/3.diff","patch_url":"https://github.com/Doist/AndroidMaterial/pull/3.patch","issue_url":"https://api.github.com/repos/Doist/AndroidMaterial/issues/3","number":3,"state":"open","locked":false,"title":"Material EditText","user":{"login":"rastislavvasko","id":159970,"avatar_url":"https://avatars.githubusercontent.com/u/159970?v=3","gravatar_id":"","url":"https://api.github.com/users/rastislavvasko","html_url":"https://github.com/rastislavvasko","followers_url":"https://api.github.com/users/rastislavvasko/followers","following_url":"https://api.github.com/users/rastislavvasko/following{/other_user}","gists_url":"https://api.github.com/users/rastislavvasko/gists{/gist_id}","starred_url":"https://api.github.com/users/rastislavvasko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rastislavvasko/subscriptions","organizations_url":"https://api.github.com/users/rastislavvasko/orgs","repos_url":"https://api.github.com/users/rastislavvasko/repos","events_url":"https://api.github.com/users/rastislavvasko/events{/privacy}","received_events_url":"https://api.github.com/users/rastislavvasko/received_events","type":"User","site_admin":false},"body":"This adds a `MaterialEditText` with a tinted background and cursor.\r\n\r\nAlso added is partial support for the `android:theme` attribute for widgets. Partial, because the themed context won't be passed to the widget's descendents.\r\n\r\nLastly, `MaterialWidgetHandler` now supports initializing drawables by raw color value.","created_at":"2015-03-20T18:11:45Z","updated_at":"2015-04-14T14:08:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"076d7332f9bf8579f3836e8752f9044de0f4fcd9","assignee":{"login":"jpmcosta","id":479016,"avatar_url":"https://avatars.githubusercontent.com/u/479016?v=3","gravatar_id":"","url":"https://api.github.com/users/jpmcosta","html_url":"https://github.com/jpmcosta","followers_url":"https://api.github.com/users/jpmcosta/followers","following_url":"https://api.github.com/users/jpmcosta/following{/other_user}","gists_url":"https://api.github.com/users/jpmcosta/gists{/gist_id}","starred_url":"https://api.github.com/users/jpmcosta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpmcosta/subscriptions","organizations_url":"https://api.github.com/users/jpmcosta/orgs","repos_url":"https://api.github.com/users/jpmcosta/repos","events_url":"https://api.github.com/users/jpmcosta/events{/privacy}","received_events_url":"https://api.github.com/users/jpmcosta/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/Doist/AndroidMaterial/pulls/3/commits","review_comments_url":"https://api.github.com/repos/Doist/AndroidMaterial/pulls/3/comments","review_comment_url":"https://api.github.com/repos/Doist/AndroidMaterial/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Doist/AndroidMaterial/issues/3/comments","statuses_url":"https://api.github.com/repos/Doist/AndroidMaterial/statuses/67019d1c9a10eed5c75c921b256df1e10a646666","head":{"label":"Doist:ft.material_edit_text","ref":"ft.material_edit_text","sha":"67019d1c9a10eed5c75c921b256df1e10a646666","user":{"login":"Doist","id":2565372,"avatar_url":"https://avatars.githubusercontent.com/u/2565372?v=3","gravatar_id":"","url":"https://api.github.com/users/Doist","html_url":"https://github.com/Doist","followers_url":"https://api.github.com/users/Doist/followers","following_url":"https://api.github.com/users/Doist/following{/other_user}","gists_url":"https://api.github.com/users/Doist/gists{/gist_id}","starred_url":"https://api.github.com/users/Doist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Doist/subscriptions","organizations_url":"https://api.github.com/users/Doist/orgs","repos_url":"https://api.github.com/users/Doist/repos","events_url":"https://api.github.com/users/Doist/events{/privacy}","received_events_url":"https://api.github.com/users/Doist/received_events","type":"Organization","site_admin":false},"repo":{"id":24740342,"name":"AndroidMaterial","full_name":"Doist/AndroidMaterial","owner":{"login":"Doist","id":2565372,"avatar_url":"https://avatars.githubusercontent.com/u/2565372?v=3","gravatar_id":"","url":"https://api.github.com/users/Doist","html_url":"https://github.com/Doist","followers_url":"https://api.github.com/users/Doist/followers","following_url":"https://api.github.com/users/Doist/following{/other_user}","gists_url":"https://api.github.com/users/Doist/gists{/gist_id}","starred_url":"https://api.github.com/users/Doist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Doist/subscriptions","organizations_url":"https://api.github.com/users/Doist/orgs","repos_url":"https://api.github.com/users/Doist/repos","events_url":"https://api.github.com/users/Doist/events{/privacy}","received_events_url":"https://api.github.com/users/Doist/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Doist/AndroidMaterial","description":"Material design compatibility library with samples.","fork":false,"url":"https://api.github.com/repos/Doist/AndroidMaterial","forks_url":"https://api.github.com/repos/Doist/AndroidMaterial/forks","keys_url":"https://api.github.com/repos/Doist/AndroidMaterial/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Doist/AndroidMaterial/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Doist/AndroidMaterial/teams","hooks_url":"https://api.github.com/repos/Doist/AndroidMaterial/hooks","issue_events_url":"https://api.github.com/repos/Doist/AndroidMaterial/issues/events{/number}","events_url":"https://api.github.com/repos/Doist/AndroidMaterial/events","assignees_url":"https://api.github.com/repos/Doist/AndroidMaterial/assignees{/user}","branches_url":"https://api.github.com/repos/Doist/AndroidMaterial/branches{/branch}","tags_url":"https://api.github.com/repos/Doist/AndroidMaterial/tags","blobs_url":"https://api.github.com/repos/Doist/AndroidMaterial/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Doist/AndroidMaterial/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Doist/AndroidMaterial/git/refs{/sha}","trees_url":"https://api.github.com/repos/Doist/AndroidMaterial/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Doist/AndroidMaterial/statuses/{sha}","languages_url":"https://api.github.com/repos/Doist/AndroidMaterial/languages","stargazers_url":"https://api.github.com/repos/Doist/AndroidMaterial/stargazers","contributors_url":"https://api.github.com/repos/Doist/AndroidMaterial/contributors","subscribers_url":"https://api.github.com/repos/Doist/AndroidMaterial/subscribers","subscription_url":"https://api.github.com/repos/Doist/AndroidMaterial/subscription","commits_url":"https://api.github.com/repos/Doist/AndroidMaterial/commits{/sha}","git_commits_url":"https://api.github.com/repos/Doist/AndroidMaterial/git/commits{/sha}","comments_url":"https://api.github.com/repos/Doist/AndroidMaterial/comments{/number}","issue_comment_url":"https://api.github.com/repos/Doist/AndroidMaterial/issues/comments{/number}","contents_url":"https://api.github.com/repos/Doist/AndroidMaterial/contents/{+path}","compare_url":"https://api.github.com/repos/Doist/AndroidMaterial/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Doist/AndroidMaterial/merges","archive_url":"https://api.github.com/repos/Doist/AndroidMaterial/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Doist/AndroidMaterial/downloads","issues_url":"https://api.github.com/repos/Doist/AndroidMaterial/issues{/number}","pulls_url":"https://api.github.com/repos/Doist/AndroidMaterial/pulls{/number}","milestones_url":"https://api.github.com/repos/Doist/AndroidMaterial/milestones{/number}","notifications_url":"https://api.github.com/repos/Doist/AndroidMaterial/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Doist/AndroidMaterial/labels{/name}","releases_url":"https://api.github.com/repos/Doist/AndroidMaterial/releases{/id}","created_at":"2014-10-02T23:14:14Z","updated_at":"2015-04-12T15:02:21Z","pushed_at":"2015-04-14T11:17:41Z","git_url":"git://github.com/Doist/AndroidMaterial.git","ssh_url":"git@github.com:Doist/AndroidMaterial.git","clone_url":"https://github.com/Doist/AndroidMaterial.git","svn_url":"https://github.com/Doist/AndroidMaterial","homepage":null,"size":1683,"stargazers_count":7,"watchers_count":7,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":2,"forks":4,"open_issues":2,"watchers":7,"default_branch":"master"}},"base":{"label":"Doist:master","ref":"master","sha":"c664a7522b4ad78b29240a8b7d4c0b9c6994d94b","user":{"login":"Doist","id":2565372,"avatar_url":"https://avatars.githubusercontent.com/u/2565372?v=3","gravatar_id":"","url":"https://api.github.com/users/Doist","html_url":"https://github.com/Doist","followers_url":"https://api.github.com/users/Doist/followers","following_url":"https://api.github.com/users/Doist/following{/other_user}","gists_url":"https://api.github.com/users/Doist/gists{/gist_id}","starred_url":"https://api.github.com/users/Doist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Doist/subscriptions","organizations_url":"https://api.github.com/users/Doist/orgs","repos_url":"https://api.github.com/users/Doist/repos","events_url":"https://api.github.com/users/Doist/events{/privacy}","received_events_url":"https://api.github.com/users/Doist/received_events","type":"Organization","site_admin":false},"repo":{"id":24740342,"name":"AndroidMaterial","full_name":"Doist/AndroidMaterial","owner":{"login":"Doist","id":2565372,"avatar_url":"https://avatars.githubusercontent.com/u/2565372?v=3","gravatar_id":"","url":"https://api.github.com/users/Doist","html_url":"https://github.com/Doist","followers_url":"https://api.github.com/users/Doist/followers","following_url":"https://api.github.com/users/Doist/following{/other_user}","gists_url":"https://api.github.com/users/Doist/gists{/gist_id}","starred_url":"https://api.github.com/users/Doist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Doist/subscriptions","organizations_url":"https://api.github.com/users/Doist/orgs","repos_url":"https://api.github.com/users/Doist/repos","events_url":"https://api.github.com/users/Doist/events{/privacy}","received_events_url":"https://api.github.com/users/Doist/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Doist/AndroidMaterial","description":"Material design compatibility library with samples.","fork":false,"url":"https://api.github.com/repos/Doist/AndroidMaterial","forks_url":"https://api.github.com/repos/Doist/AndroidMaterial/forks","keys_url":"https://api.github.com/repos/Doist/AndroidMaterial/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Doist/AndroidMaterial/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Doist/AndroidMaterial/teams","hooks_url":"https://api.github.com/repos/Doist/AndroidMaterial/hooks","issue_events_url":"https://api.github.com/repos/Doist/AndroidMaterial/issues/events{/number}","events_url":"https://api.github.com/repos/Doist/AndroidMaterial/events","assignees_url":"https://api.github.com/repos/Doist/AndroidMaterial/assignees{/user}","branches_url":"https://api.github.com/repos/Doist/AndroidMaterial/branches{/branch}","tags_url":"https://api.github.com/repos/Doist/AndroidMaterial/tags","blobs_url":"https://api.github.com/repos/Doist/AndroidMaterial/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Doist/AndroidMaterial/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Doist/AndroidMaterial/git/refs{/sha}","trees_url":"https://api.github.com/repos/Doist/AndroidMaterial/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Doist/AndroidMaterial/statuses/{sha}","languages_url":"https://api.github.com/repos/Doist/AndroidMaterial/languages","stargazers_url":"https://api.github.com/repos/Doist/AndroidMaterial/stargazers","contributors_url":"https://api.github.com/repos/Doist/AndroidMaterial/contributors","subscribers_url":"https://api.github.com/repos/Doist/AndroidMaterial/subscribers","subscription_url":"https://api.github.com/repos/Doist/AndroidMaterial/subscription","commits_url":"https://api.github.com/repos/Doist/AndroidMaterial/commits{/sha}","git_commits_url":"https://api.github.com/repos/Doist/AndroidMaterial/git/commits{/sha}","comments_url":"https://api.github.com/repos/Doist/AndroidMaterial/comments{/number}","issue_comment_url":"https://api.github.com/repos/Doist/AndroidMaterial/issues/comments{/number}","contents_url":"https://api.github.com/repos/Doist/AndroidMaterial/contents/{+path}","compare_url":"https://api.github.com/repos/Doist/AndroidMaterial/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Doist/AndroidMaterial/merges","archive_url":"https://api.github.com/repos/Doist/AndroidMaterial/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Doist/AndroidMaterial/downloads","issues_url":"https://api.github.com/repos/Doist/AndroidMaterial/issues{/number}","pulls_url":"https://api.github.com/repos/Doist/AndroidMaterial/pulls{/number}","milestones_url":"https://api.github.com/repos/Doist/AndroidMaterial/milestones{/number}","notifications_url":"https://api.github.com/repos/Doist/AndroidMaterial/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Doist/AndroidMaterial/labels{/name}","releases_url":"https://api.github.com/repos/Doist/AndroidMaterial/releases{/id}","created_at":"2014-10-02T23:14:14Z","updated_at":"2015-04-12T15:02:21Z","pushed_at":"2015-04-14T11:17:41Z","git_url":"git://github.com/Doist/AndroidMaterial.git","ssh_url":"git@github.com:Doist/AndroidMaterial.git","clone_url":"https://github.com/Doist/AndroidMaterial.git","svn_url":"https://github.com/Doist/AndroidMaterial","homepage":null,"size":1683,"stargazers_count":7,"watchers_count":7,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":2,"forks":4,"open_issues":2,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Doist/AndroidMaterial/pulls/3"},"html":{"href":"https://github.com/Doist/AndroidMaterial/pull/3"},"issue":{"href":"https://api.github.com/repos/Doist/AndroidMaterial/issues/3"},"comments":{"href":"https://api.github.com/repos/Doist/AndroidMaterial/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/Doist/AndroidMaterial/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/Doist/AndroidMaterial/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Doist/AndroidMaterial/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/Doist/AndroidMaterial/statuses/67019d1c9a10eed5c75c921b256df1e10a646666"}}}}