AndroidStudio 3.5 formatted xml file xml elements appear automatically change the location of the problem

 

Problem description
when formatting xml, xml element occurs automatically change the location of the problem.
Left is the original right is formatted. Pit Mother ah, so that the interface is completely changed ah.


Solutions
in the settings, Appearance & Behavior> Editor> Code Style> XML interface,
click "Set from ...", select "Predefined Style"> "Android"
to save the settings
and then format it xml file
to get.

 

Guess you like

Origin www.cnblogs.com/dongweiq/p/11504533.html