{"action":"created","issue":{"url":"https://api.github.com/repos/chathuralakmal/AndroidImagePopup/issues/21","repository_url":"https://api.github.com/repos/chathuralakmal/AndroidImagePopup","labels_url":"https://api.github.com/repos/chathuralakmal/AndroidImagePopup/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/chathuralakmal/AndroidImagePopup/issues/21/comments","events_url":"https://api.github.com/repos/chathuralakmal/AndroidImagePopup/issues/21/events","html_url":"https://github.com/chathuralakmal/AndroidImagePopup/issues/21","id":268907165,"number":21,"title":"Make function to auto fit the screen ","user":{"login":"Abdelsattar","id":9407394,"avatar_url":"https://avatars0.githubusercontent.com/u/9407394?v=4","gravatar_id":"","url":"https://api.github.com/users/Abdelsattar","html_url":"https://github.com/Abdelsattar","followers_url":"https://api.github.com/users/Abdelsattar/followers","following_url":"https://api.github.com/users/Abdelsattar/following{/other_user}","gists_url":"https://api.github.com/users/Abdelsattar/gists{/gist_id}","starred_url":"https://api.github.com/users/Abdelsattar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Abdelsattar/subscriptions","organizations_url":"https://api.github.com/users/Abdelsattar/orgs","repos_url":"https://api.github.com/users/Abdelsattar/repos","events_url":"https://api.github.com/users/Abdelsattar/events{/privacy}","received_events_url":"https://api.github.com/users/Abdelsattar/received_events","type":"User","site_admin":false},"labels":[{"id":513411286,"url":"https://api.github.com/repos/chathuralakmal/AndroidImagePopup/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-10-26T20:52:12Z","updated_at":"2017-10-31T09:03:43Z","closed_at":"2017-10-31T09:03:43Z","author_association":"CONTRIBUTOR","body":"\r\n think the lib need to add function to auto fit whole screen and it take boolean to check if make it or not \r\n\r\nthis code will  get the width and height for the screen \r\n\r\n` DisplayMetrics displayMetrics = new DisplayMetrics();\r\n            ((Activity) context).getWindowManager().getDefaultDisplay().getMetrics(displayMetrics);\r\n            int height = displayMetrics.heightPixels;\r\n            int width = displayMetrics.widthPixels;`\r\n\r\ni'm busy nowadays if i got free and you didn't make it yet i hope i will make it or it is already exist and i don't know \r\n\r\nplease mark this issue as enhancement i don't know how , i think it can made by the author only "},"comment":{"url":"https://api.github.com/repos/chathuralakmal/AndroidImagePopup/issues/comments/340700780","html_url":"https://github.com/chathuralakmal/AndroidImagePopup/issues/21#issuecomment-340700780","issue_url":"https://api.github.com/repos/chathuralakmal/AndroidImagePopup/issues/21","id":340700780,"user":{"login":"chathuralakmal","id":12609979,"avatar_url":"https://avatars0.githubusercontent.com/u/12609979?v=4","gravatar_id":"","url":"https://api.github.com/users/chathuralakmal","html_url":"https://github.com/chathuralakmal","followers_url":"https://api.github.com/users/chathuralakmal/followers","following_url":"https://api.github.com/users/chathuralakmal/following{/other_user}","gists_url":"https://api.github.com/users/chathuralakmal/gists{/gist_id}","starred_url":"https://api.github.com/users/chathuralakmal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chathuralakmal/subscriptions","organizations_url":"https://api.github.com/users/chathuralakmal/orgs","repos_url":"https://api.github.com/users/chathuralakmal/repos","events_url":"https://api.github.com/users/chathuralakmal/events{/privacy}","received_events_url":"https://api.github.com/users/chathuralakmal/received_events","type":"User","site_admin":false},"created_at":"2017-10-31T09:03:43Z","updated_at":"2017-10-31T09:03:43Z","author_association":"OWNER","body":"Ah great. i made the changes in library.  :)"}}
{"actor":{"display_login":"chathuralakmal"}}