use Android formatter in Eclipse to format AndroidManifest.xml (Ctrl-Shift-F)

You can get the official Android formatters for Eclipse, emacs, IntelliJ,
and XCode here:
https://android.googlesource.com/platform/development/+/master/ide/