Reputation: 453
Android studio aligns xml code one line automaticly... How do I can solve this problem?
Upvotes: 0
Views: 70
Reputation: 48
Just press enter at the end of the attribute that you have entered and then the next one will begin in the next line. The thing is that it doesn’t make a difference, the code is the same when it reaches the compiler. I never tried to change a setting because it doesn’t make a difference whether the individual attributes are on the same line. However, just press enter at the end of each attribute.
Upvotes: 1