{"action":"created","issue":{"url":"https://api.github.com/repos/JetBrains/anko/issues/10","labels_url":"https://api.github.com/repos/JetBrains/anko/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/JetBrains/anko/issues/10/comments","events_url":"https://api.github.com/repos/JetBrains/anko/issues/10/events","html_url":"https://github.com/JetBrains/anko/issues/10","id":67044670,"number":10,"title":"Android Layout variations","user":{"login":"polenchheang","id":3946942,"avatar_url":"https://avatars.githubusercontent.com/u/3946942?v=3","gravatar_id":"","url":"https://api.github.com/users/polenchheang","html_url":"https://github.com/polenchheang","followers_url":"https://api.github.com/users/polenchheang/followers","following_url":"https://api.github.com/users/polenchheang/following{/other_user}","gists_url":"https://api.github.com/users/polenchheang/gists{/gist_id}","starred_url":"https://api.github.com/users/polenchheang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/polenchheang/subscriptions","organizations_url":"https://api.github.com/users/polenchheang/orgs","repos_url":"https://api.github.com/users/polenchheang/repos","events_url":"https://api.github.com/users/polenchheang/events{/privacy}","received_events_url":"https://api.github.com/users/polenchheang/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-08T04:12:13Z","updated_at":"2015-04-08T13:13:36Z","closed_at":null,"body":"I would like to know, how to use anko to handle android layout variations like layout-land or layout-sw600dp?\r\nIt would great if you can provide sample code."},"comment":{"url":"https://api.github.com/repos/JetBrains/anko/issues/comments/90911010","html_url":"https://github.com/JetBrains/anko/issues/10#issuecomment-90911010","issue_url":"https://api.github.com/repos/JetBrains/anko/issues/10","id":90911010,"user":{"login":"yanex","id":95996,"avatar_url":"https://avatars.githubusercontent.com/u/95996?v=3","gravatar_id":"","url":"https://api.github.com/users/yanex","html_url":"https://github.com/yanex","followers_url":"https://api.github.com/users/yanex/followers","following_url":"https://api.github.com/users/yanex/following{/other_user}","gists_url":"https://api.github.com/users/yanex/gists{/gist_id}","starred_url":"https://api.github.com/users/yanex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yanex/subscriptions","organizations_url":"https://api.github.com/users/yanex/orgs","repos_url":"https://api.github.com/users/yanex/repos","events_url":"https://api.github.com/users/yanex/events{/privacy}","received_events_url":"https://api.github.com/users/yanex/received_events","type":"User","site_admin":false},"created_at":"2015-04-08T13:13:36Z","updated_at":"2015-04-08T13:13:36Z","body":"It is simple.\r\n\r\n```kotlin\r\ntextView(if (configuration.portrait) \"Portrait\" else \"Landscape\")\r\ntextView(if (displayMetrics.densityDpi == XHDPI) \"Xhdpi\" else \"Non-xhdpi\")\r\n```"}}