Hello,
i would like to know shortcut key to format my xml tag
for ex: (main.xml) when i drag and drop,code display in horizontal line like::
<LinearLayout android:id="@+id/chart" android:orientation="horizontal" .. . . . . .... />
but i would like to know shoutcut , so i press it and display
like ::
<LinearLayout android:id="@+id/chart"
android:orientation="horizontal"
.. . . . . .... />
Thanks
nik
I don’t think so to select xml code or java code to format it properly. By simply pressing
CTRL+SHIFT+ForCTRL+Iyou can properly reformat your code.Press
CTRL+SHIFT+Lto shows all the command supported by Eclipse.