{"action":"created","issue":{"url":"https://api.github.com/repos/square/java-code-styles/issues/21","labels_url":"https://api.github.com/repos/square/java-code-styles/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/square/java-code-styles/issues/21/comments","events_url":"https://api.github.com/repos/square/java-code-styles/issues/21/events","html_url":"https://github.com/square/java-code-styles/issues/21","id":121714785,"number":21,"title":"SquareAndroid code style doesn't define arrangement for XML ","user":{"login":"ravikumar-n","id":250998,"avatar_url":"https://avatars.githubusercontent.com/u/250998?v=3","gravatar_id":"","url":"https://api.github.com/users/ravikumar-n","html_url":"https://github.com/ravikumar-n","followers_url":"https://api.github.com/users/ravikumar-n/followers","following_url":"https://api.github.com/users/ravikumar-n/following{/other_user}","gists_url":"https://api.github.com/users/ravikumar-n/gists{/gist_id}","starred_url":"https://api.github.com/users/ravikumar-n/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ravikumar-n/subscriptions","organizations_url":"https://api.github.com/users/ravikumar-n/orgs","repos_url":"https://api.github.com/users/ravikumar-n/repos","events_url":"https://api.github.com/users/ravikumar-n/events{/privacy}","received_events_url":"https://api.github.com/users/ravikumar-n/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-11T14:12:04Z","updated_at":"2015-12-12T10:26:59Z","closed_at":null,"body":"The \"SquareAndroid\" code style doesn't have any XML arrangement predefined. (Editor > Code Style > XML > (Scheme:SquareAndroid) Arrangement )\r\n\r\nI'm setting it by using \"Set From > Predefined style > Android\" to enforce XML tags arrangement.\r\n\r\nIs this an intended behavior? If not can I make a PR?"},"comment":{"url":"https://api.github.com/repos/square/java-code-styles/issues/comments/164137369","html_url":"https://github.com/square/java-code-styles/issues/21#issuecomment-164137369","issue_url":"https://api.github.com/repos/square/java-code-styles/issues/21","id":164137369,"user":{"login":"ravikumar-n","id":250998,"avatar_url":"https://avatars.githubusercontent.com/u/250998?v=3","gravatar_id":"","url":"https://api.github.com/users/ravikumar-n","html_url":"https://github.com/ravikumar-n","followers_url":"https://api.github.com/users/ravikumar-n/followers","following_url":"https://api.github.com/users/ravikumar-n/following{/other_user}","gists_url":"https://api.github.com/users/ravikumar-n/gists{/gist_id}","starred_url":"https://api.github.com/users/ravikumar-n/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ravikumar-n/subscriptions","organizations_url":"https://api.github.com/users/ravikumar-n/orgs","repos_url":"https://api.github.com/users/ravikumar-n/repos","events_url":"https://api.github.com/users/ravikumar-n/events{/privacy}","received_events_url":"https://api.github.com/users/ravikumar-n/received_events","type":"User","site_admin":false},"created_at":"2015-12-12T10:26:59Z","updated_at":"2015-12-12T10:26:59Z","body":"@JakeWharton Namespace declarations comes before id ?, style comes before tools?\r\n\r\nBelow is a sample xml formatted using standard Android template:\r\n```\r\n<android.support.v7.widget.Toolbar xmlns:android=\"http://schemas.android.com/apk/res/android\"\r\n  xmlns:app=\"http://schemas.android.com/apk/res-auto\"\r\n  xmlns:tools=\"http://schemas.android.com/tools\"\r\n  android:id=\"@+id/toolbar\"\r\n  style=\"@style/AppTheme\"\r\n  android:layout_width=\"match_parent\"\r\n  android:layout_height=\"?actionBarSize\"\r\n  android:alpha=\"0.9f\"\r\n  android:background=\"?attr/colorPrimary\"\r\n  android:theme=\"@style/ActionBarThemeOverlay\"\r\n  app:contentInsetStart=\"?actionBarInsetStart\"\r\n  app:layout_scrollFlags=\"scroll|enterAlways\"\r\n  app:popupTheme=\"@style/ActionBarPopupThemeOverlay\"\r\n  app:titleTextAppearance=\"@style/ActionBar.TitleText\"\r\n  tools:actionBarNavMode=\"standard\"\r\n  tools:context=\".ui.activities.DashboardActivity\" />\r\n```\r\nCould you convert this sample to SquareAndroid style? (Based on this I will create the formatter.)"}}