I would to enter in some comments into the layout XML files, how would I do that?
thanks, Dean
I would to enter in some comments into the layout XML files, how would I do that?
thanks, Dean
XML comments start with <!--
and end with -->
.
For example:
<!-- This is a comment. -->
As other said, the comment in XML are like this
<!-- this is a comment -->
Notice that they can span on multiple lines
<!--
This is a comment
on multiple lines
-->
But they cannot be nested
<!-- This <!-- is a comment --> This is not -->
Also you cannot use them inside tags
<EditText <!--This is not valid--> android:layout_width="fill_parent" />