Skip to content

albin-mullvad/android-xml-formatter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Simple formatter for the Android layout xml code style

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 100.0%