title: Commenting in android layout file
body: <p>How can I comment in xml file of android layout. I have seen <a href="https://stackoverflow.com/questions/3484643/how-to-comments-in-layout-xml">Comments in Android Layout xml</a> - but I wanted to comment inside a parent.</p>
  
  <p>When I try to do that I get an error in eclipse:</p>
  
  <pre><code>&lt;Button android:text="Button" 
  &lt;!-- this is a comment --&gt;
  android:id="@+id/Discon" &gt;
  &lt;/Button&gt;
  </code></pre>
  
  <p>From the background knowledge of xml, I came to know that we cannot add comments in attributes.
  Is there any way of removing the id as attribute and specifying it as element?<br>
  Or is there any way to add comments inside attributes of elements?</p>