Auto Format Option for Android XML in Eclipse

06.06.2011

window >preferences >XML >XML files >editor >check the box labeled ‘Split multiple attributes each on a new line’

 

to autoformat a file, hit:

ctrl + shift + f