{"action":"created","issue":{"url":"https://api.github.com/repos/LivotovLabs/CamView/issues/16","labels_url":"https://api.github.com/repos/LivotovLabs/CamView/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/LivotovLabs/CamView/issues/16/comments","events_url":"https://api.github.com/repos/LivotovLabs/CamView/issues/16/events","html_url":"https://github.com/LivotovLabs/CamView/issues/16","id":106744948,"number":16,"title":"Preserve Aspect Ratio","user":{"login":"mtangoo","id":1502872,"avatar_url":"https://avatars.githubusercontent.com/u/1502872?v=3","gravatar_id":"","url":"https://api.github.com/users/mtangoo","html_url":"https://github.com/mtangoo","followers_url":"https://api.github.com/users/mtangoo/followers","following_url":"https://api.github.com/users/mtangoo/following{/other_user}","gists_url":"https://api.github.com/users/mtangoo/gists{/gist_id}","starred_url":"https://api.github.com/users/mtangoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtangoo/subscriptions","organizations_url":"https://api.github.com/users/mtangoo/orgs","repos_url":"https://api.github.com/users/mtangoo/repos","events_url":"https://api.github.com/users/mtangoo/events{/privacy}","received_events_url":"https://api.github.com/users/mtangoo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2015-09-16T10:29:11Z","updated_at":"2015-09-16T16:08:37Z","closed_at":null,"body":"I need to have Scanner width of let say 200dp but I want it to calculate height depending on the aspect ratio of the camera. Does CamView provide for that? I think something like resize(w, h) where if w or h is -1 you would resize preserving aspect ratio"},"comment":{"url":"https://api.github.com/repos/LivotovLabs/CamView/issues/comments/140789986","html_url":"https://github.com/LivotovLabs/CamView/issues/16#issuecomment-140789986","issue_url":"https://api.github.com/repos/LivotovLabs/CamView/issues/16","id":140789986,"user":{"login":"livotov","id":150956,"avatar_url":"https://avatars.githubusercontent.com/u/150956?v=3","gravatar_id":"","url":"https://api.github.com/users/livotov","html_url":"https://github.com/livotov","followers_url":"https://api.github.com/users/livotov/followers","following_url":"https://api.github.com/users/livotov/following{/other_user}","gists_url":"https://api.github.com/users/livotov/gists{/gist_id}","starred_url":"https://api.github.com/users/livotov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/livotov/subscriptions","organizations_url":"https://api.github.com/users/livotov/orgs","repos_url":"https://api.github.com/users/livotov/repos","events_url":"https://api.github.com/users/livotov/events{/privacy}","received_events_url":"https://api.github.com/users/livotov/received_events","type":"User","site_admin":false},"created_at":"2015-09-16T16:08:37Z","updated_at":"2015-09-16T16:08:37Z","body":"Yep, in XML.\r\nJust copied your layout above to my test app, looks like everything is ok, see the video: http://share.livotov.eu/hlSe/p8TMlSNC\r\n\r\nCould you please show me your recording ?\r\nAlso, do you have any locked orientation in manifest for this scanning activity or not ?"}}