PimpMyAndroidXML is a command client app that will style/format android xml files. Be aware that is in early stages of development.
Pre-requirements:
- java 8 installed.
Steps:
- Get the latest jar from our releases
- Run:
java -jar pimp-my-android-xml.jar pimp-my-android-xml-apply [ROOT DIRECTORY WITH FILES TO FORMAT]
Before | After using PimpMyAndroidXML |
---|---|
- Option to check if certain layouts or drawables are compliant with the PimpMyAndroidXML code styling.
- Gradle plugin to stop using it only through the jar release.
- Android Studio/Intellij plugin to apply it directly through the IDE
- Configurable options for indenting and line breaking