问题
is there any feature in Android Studio to align all XML attributes by '=' sign. I am unable to find any setting that would allow this.


Just another code format fanatic who likes code readability.
回答1:
below code will align everything but not after = sign. for better answer here
Win/Linux:
Ctrl + Alt + L
Mac:
Option + Command + L
回答2:
Try like this
Settings - Editor - XML
来源:https://stackoverflow.com/questions/28245890/how-to-align-xml-code-in-android-studio