{"action":"created","issue":{"url":"https://api.github.com/repos/lzyzsd/CircleProgress/issues/60","repository_url":"https://api.github.com/repos/lzyzsd/CircleProgress","labels_url":"https://api.github.com/repos/lzyzsd/CircleProgress/issues/60/labels{/name}","comments_url":"https://api.github.com/repos/lzyzsd/CircleProgress/issues/60/comments","events_url":"https://api.github.com/repos/lzyzsd/CircleProgress/issues/60/events","html_url":"https://github.com/lzyzsd/CircleProgress/issues/60","id":172480297,"number":60,"title":"Set color programatically ?","user":{"login":"TcQPAD","id":17066590,"avatar_url":"https://avatars.githubusercontent.com/u/17066590?v=3","gravatar_id":"","url":"https://api.github.com/users/TcQPAD","html_url":"https://github.com/TcQPAD","followers_url":"https://api.github.com/users/TcQPAD/followers","following_url":"https://api.github.com/users/TcQPAD/following{/other_user}","gists_url":"https://api.github.com/users/TcQPAD/gists{/gist_id}","starred_url":"https://api.github.com/users/TcQPAD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TcQPAD/subscriptions","organizations_url":"https://api.github.com/users/TcQPAD/orgs","repos_url":"https://api.github.com/users/TcQPAD/repos","events_url":"https://api.github.com/users/TcQPAD/events{/privacy}","received_events_url":"https://api.github.com/users/TcQPAD/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-22T15:20:23Z","updated_at":"2016-08-23T08:53:50Z","closed_at":"2016-08-23T08:53:50Z","body":"Hello,\r\n\r\nFirst of all thanks for this very nice and easy use library :-)\r\n\r\nI'd like to know if it's possible to change the finished_color programatically. I'm having trouble doing it :\r\n\r\nUsing `donutProgress.setFinishedStrokeColor(R.color.orange);` or whatever color won't do anything, instead it puts a blue/purple color as you can see below :\r\n\r\n![issue_donut_progress](https://cloud.githubusercontent.com/assets/17066590/17860215/f54017e4-688c-11e6-999e-70e34c314e19.png)\r\n\r\n\r\nAm I using setFinishedStrokeColor the right way ?\r\nThanks in advance, Max"},"comment":{"url":"https://api.github.com/repos/lzyzsd/CircleProgress/issues/comments/241668474","html_url":"https://github.com/lzyzsd/CircleProgress/issues/60#issuecomment-241668474","issue_url":"https://api.github.com/repos/lzyzsd/CircleProgress/issues/60","id":241668474,"user":{"login":"TcQPAD","id":17066590,"avatar_url":"https://avatars.githubusercontent.com/u/17066590?v=3","gravatar_id":"","url":"https://api.github.com/users/TcQPAD","html_url":"https://github.com/TcQPAD","followers_url":"https://api.github.com/users/TcQPAD/followers","following_url":"https://api.github.com/users/TcQPAD/following{/other_user}","gists_url":"https://api.github.com/users/TcQPAD/gists{/gist_id}","starred_url":"https://api.github.com/users/TcQPAD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TcQPAD/subscriptions","organizations_url":"https://api.github.com/users/TcQPAD/orgs","repos_url":"https://api.github.com/users/TcQPAD/repos","events_url":"https://api.github.com/users/TcQPAD/events{/privacy}","received_events_url":"https://api.github.com/users/TcQPAD/received_events","type":"User","site_admin":false},"created_at":"2016-08-23T08:53:50Z","updated_at":"2016-08-23T08:53:50Z","body":"I solved it by using : \r\n\r\n`donutProgress.setFinishedStrokeColor(Color.parseColor(\"#color_code\"));`\r\n\r\nIt seems like the method can't manage to use resource colors such as R.color.mycolor."}}
{"actor":{"display_login":"TcQPAD"}}