开发者

Line feeds in Eclipse layout XML

When the new project wizard creates a skeleton layout, the XML is nicely formatted with linefeeds for easy review. But when I use the graphical layout form of the layout editor and drag an object into the 开发者_如何学Pythonlayout, the resulting XML is all on one line. How can I get the Eclipse graphical layout editor to insert linefeeds? I know I can do it manually, but that gets old real fast. I have tried all the reasonable options in Windows > Preferences > XML > Editor.


The preference is in preferences > Android > Editors, and selecting "Automatically format the XML edited by the visual layout editor" will format according to the XML editor preferences that you have set in XML > Editor.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜