Naming ID in Android Applications
<p>If you are developing Android application, you will encounter such a id naming in xml files of view and layouts : </p>

<pre><code>&lt;menu xmlns:android="http://schemas.android.com/apk/res/android"&gt;
    &lt;item android:id="@+id/new_game"
          android:icon="@drawable/ic_new_game"
          android:title="@string/new_game" /&gt;
    &lt;item android:id="@+id/quit"
          android:icon="@drawable/ic_quit"
          android:title="@string/quit" /&gt;
&lt;/menu&gt;
</code></pre>

<p>and I am really wondering why such naming is applied to ids. It is because of Linux? What kinda meaning this naming --<code>@+id/...</code>--has?</p>

<p>When I am looking at <code>android:icon</code> attribute I can interpret that it means <code>ic_new_game</code> is located under drawable folder and <code>@</code> means "located at" or I just assume that.</p>

<p>But naming id attributes are kinda different because they also have <code>+</code> sign. Can somebody help me understand this convention?</p>

<p>Thanks.</p>
