Skip to content

Latest commit

 

History

History
7 lines (4 loc) · 460 Bytes

README.md

File metadata and controls

7 lines (4 loc) · 460 Bytes

android-xml-formatter

Formats xml files according to Android Studio's default formatting rules. By default, also re-orders the attributes to specify the android:id, android:layout_width and android:layout_height first. This can be turned off with a command line option.

To view available command line options, execute java -jar android-xml-formatter.jar --help.

Can be used as a style check on a CI server by executing and then printing the diff.