why is there different id syntax in the Android docs?
<p><a href="http://developer.android.com/guide/topics/ui/layout-objects.html" rel="nofollow">This page</a> in the Android documentation defines an element id as follows:</p>

<pre><code>&lt;TextView android:id="@+id/label" 
          android:layout_width="fill_parent" 
          android:layout_height="wrap_content" 
          android:text="Type here:" /&gt;
</code></pre>

<p>However <a href="http://developer.android.com/guide/topics/resources/resources-i18n.html" rel="nofollow">this page</a> defines it as:</p>

<pre><code>&lt;EditText id="text"
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="fill_parent" android:layout_height="fill_parent"
    android:textColor="@color/opaque_red"
    android:text="Hello, World!" /&gt;
</code></pre>

<p>I thought I had a decent understanding of what was going on until I saw this second example.   In the first case, you need the + character so that id 'label' is added to the R file, correct?  In the second case, would the EditText's id not be added to the R file because it does not contain the + character?</p>

<p>Also, the second example does not include the android namespace on the id.  Does having or not having the Android namespace affect whether that id will be added to the R file?</p>

<p>Thanks for any clarification.  </p>
