{"action":"created","issue":{"url":"https://api.github.com/repos/alamkanak/Android-Week-View/issues/266","repository_url":"https://api.github.com/repos/alamkanak/Android-Week-View","labels_url":"https://api.github.com/repos/alamkanak/Android-Week-View/issues/266/labels{/name}","comments_url":"https://api.github.com/repos/alamkanak/Android-Week-View/issues/266/comments","events_url":"https://api.github.com/repos/alamkanak/Android-Week-View/issues/266/events","html_url":"https://github.com/alamkanak/Android-Week-View/pull/266","id":128430592,"number":266,"title":"Add the possibility to add an icon to an event","user":{"login":"vermotr","id":6630146,"avatar_url":"https://avatars.githubusercontent.com/u/6630146?v=3","gravatar_id":"","url":"https://api.github.com/users/vermotr","html_url":"https://github.com/vermotr","followers_url":"https://api.github.com/users/vermotr/followers","following_url":"https://api.github.com/users/vermotr/following{/other_user}","gists_url":"https://api.github.com/users/vermotr/gists{/gist_id}","starred_url":"https://api.github.com/users/vermotr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vermotr/subscriptions","organizations_url":"https://api.github.com/users/vermotr/orgs","repos_url":"https://api.github.com/users/vermotr/repos","events_url":"https://api.github.com/users/vermotr/events{/privacy}","received_events_url":"https://api.github.com/users/vermotr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-01-24T22:41:55Z","updated_at":"2016-05-19T19:04:12Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/alamkanak/Android-Week-View/pulls/266","html_url":"https://github.com/alamkanak/Android-Week-View/pull/266","diff_url":"https://github.com/alamkanak/Android-Week-View/pull/266.diff","patch_url":"https://github.com/alamkanak/Android-Week-View/pull/266.patch"},"body":"Hi,\r\n\r\nI create a PR to add the possibility to display an icon at the bottom of an event.\r\n\r\nTo associate an icon with an event you can use this method : `setIconId()` and to set its color: `setIconColor()`. By default, the color of icon is the same than that of header.\r\n\r\nYou can define the size of icons in your layout with the `eventIconSize` attribute.\r\n\r\nvermotr"},"comment":{"url":"https://api.github.com/repos/alamkanak/Android-Week-View/issues/comments/220421701","html_url":"https://github.com/alamkanak/Android-Week-View/pull/266#issuecomment-220421701","issue_url":"https://api.github.com/repos/alamkanak/Android-Week-View/issues/266","id":220421701,"user":{"login":"challme28","id":9601561,"avatar_url":"https://avatars.githubusercontent.com/u/9601561?v=3","gravatar_id":"","url":"https://api.github.com/users/challme28","html_url":"https://github.com/challme28","followers_url":"https://api.github.com/users/challme28/followers","following_url":"https://api.github.com/users/challme28/following{/other_user}","gists_url":"https://api.github.com/users/challme28/gists{/gist_id}","starred_url":"https://api.github.com/users/challme28/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/challme28/subscriptions","organizations_url":"https://api.github.com/users/challme28/orgs","repos_url":"https://api.github.com/users/challme28/repos","events_url":"https://api.github.com/users/challme28/events{/privacy}","received_events_url":"https://api.github.com/users/challme28/received_events","type":"User","site_admin":false},"created_at":"2016-05-19T19:04:12Z","updated_at":"2016-05-19T19:04:12Z","body":"When there is an event that stars, lets say, 11PM and ends 1AM on the next day the icon won't draw. I know these kind of events don't occur that often but I'd like to have this also. I've seen how event titles are drawn twice but couldn't replicate it for the icon. Thanks for the branch."}}