picKit
picKit

Reputation: 453

Why does android studio aligns xml code one line

Android studio aligns xml code one line automaticly... How do I can solve this problem? enter image description here

Upvotes: 0

Views: 70

Answers (1)

Aqib Ahmed
Aqib Ahmed

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

Related Questions