{"action":"created","issue":{"url":"https://api.github.com/repos/rongi/rotate-layout/issues/1","labels_url":"https://api.github.com/repos/rongi/rotate-layout/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/rongi/rotate-layout/issues/1/comments","events_url":"https://api.github.com/repos/rongi/rotate-layout/issues/1/events","html_url":"https://github.com/rongi/rotate-layout/issues/1","id":37476038,"number":1,"title":"Change layout angle programmatically","user":{"login":"uberspot","id":237927,"avatar_url":"https://avatars.githubusercontent.com/u/237927?v=3","gravatar_id":"","url":"https://api.github.com/users/uberspot","html_url":"https://github.com/uberspot","followers_url":"https://api.github.com/users/uberspot/followers","following_url":"https://api.github.com/users/uberspot/following{/other_user}","gists_url":"https://api.github.com/users/uberspot/gists{/gist_id}","starred_url":"https://api.github.com/users/uberspot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uberspot/subscriptions","organizations_url":"https://api.github.com/users/uberspot/orgs","repos_url":"https://api.github.com/users/uberspot/repos","events_url":"https://api.github.com/users/uberspot/events{/privacy}","received_events_url":"https://api.github.com/users/uberspot/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2014-07-09T15:18:50Z","updated_at":"2015-11-04T16:17:23Z","closed_at":null,"body":"Hey, I might have missed it somewhere but is there a way to change the contained layout angle via code instead of using the xml [app:layout_angle=\"90\"] ? \r\nSo that the angle changes dynamically. \r\n\r\nEDIT: I tried doing `((RotateLayout.LayoutParams) layout.getView().getLayoutParams()).angle = (int) newAngle;` and it worked but it doesn't seem very clean. \r\n"},"comment":{"url":"https://api.github.com/repos/rongi/rotate-layout/issues/comments/153780174","html_url":"https://github.com/rongi/rotate-layout/issues/1#issuecomment-153780174","issue_url":"https://api.github.com/repos/rongi/rotate-layout/issues/1","id":153780174,"user":{"login":"rongi","id":7000897,"avatar_url":"https://avatars.githubusercontent.com/u/7000897?v=3","gravatar_id":"","url":"https://api.github.com/users/rongi","html_url":"https://github.com/rongi","followers_url":"https://api.github.com/users/rongi/followers","following_url":"https://api.github.com/users/rongi/following{/other_user}","gists_url":"https://api.github.com/users/rongi/gists{/gist_id}","starred_url":"https://api.github.com/users/rongi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rongi/subscriptions","organizations_url":"https://api.github.com/users/rongi/orgs","repos_url":"https://api.github.com/users/rongi/repos","events_url":"https://api.github.com/users/rongi/events{/privacy}","received_events_url":"https://api.github.com/users/rongi/received_events","type":"User","site_admin":false},"created_at":"2015-11-04T16:17:23Z","updated_at":"2015-11-04T16:17:23Z","body":"@Mr-Developer Right now it is possible to change angle by modifying layout parameters of the child view. But I'll look into this and implement more convenient method in a week or may be earlier."}}