{"action":"closed","issue":{"url":"https://api.github.com/repos/racsdragon/android-svg-code-render/issues/40","labels_url":"https://api.github.com/repos/racsdragon/android-svg-code-render/issues/40/labels{/name}","comments_url":"https://api.github.com/repos/racsdragon/android-svg-code-render/issues/40/comments","events_url":"https://api.github.com/repos/racsdragon/android-svg-code-render/issues/40/events","html_url":"https://github.com/racsdragon/android-svg-code-render/issues/40","id":61986311,"number":40,"title":"Scale in ImageView","user":{"login":"GoogleCodeExporter","id":9614759,"avatar_url":"https://avatars.githubusercontent.com/u/9614759?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCodeExporter","html_url":"https://github.com/GoogleCodeExporter","followers_url":"https://api.github.com/users/GoogleCodeExporter/followers","following_url":"https://api.github.com/users/GoogleCodeExporter/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCodeExporter/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCodeExporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCodeExporter/subscriptions","organizations_url":"https://api.github.com/users/GoogleCodeExporter/orgs","repos_url":"https://api.github.com/users/GoogleCodeExporter/repos","events_url":"https://api.github.com/users/GoogleCodeExporter/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCodeExporter/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/racsdragon/android-svg-code-render/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/racsdragon/android-svg-code-render/labels/legacy","name":"legacy","color":"fbca04"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-03-16T06:33:03Z","updated_at":"2015-03-21T04:08:54Z","closed_at":"2015-03-21T04:08:54Z","body":"```\nSVGImageView doesn't properly scale the image. Even if w o h are changed, it \nseems that only takes w and preserves aspect ratio\n\n\nSVGImageView siv = new SVGImageView(this);\nsiv.setImageResource(R.drawable.image_svg);\n\nint w=100;\nint h=100;\n\nRelativeLayout.LayoutParams rllp = new RelativeLayout.LayoutParams(w,h);\nsiv.setLayoutParams(rllp);\n\n\n```\n\nOriginal issue reported on code.google.com by `thaedne...@gmail.com` on 7 Jul 2014 at 10:06\n\nAttachments:\n* [image_svg.svg](https://storage.googleapis.com/google-code-attachments/androidsvg/issue-40/comment-0/image_svg.svg)\n"}}