Reputation: 599
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.
Upvotes: 4
Views: 8658
Reputation: 710
Try like this
Settings - Editor - XML
Upvotes: 1
Reputation: 2249
below code will align everything but not after = sign. for better answer here
Win/Linux:
Ctrl + Alt + L
Mac:
Option + Command + L
Upvotes: 13