If you are developing an Android application, you will encounter the following identifier for names in the XML files of the view and layouts:
<menu xmlns:android="http://schemas.android.com/apk/res/android">
<item android:id="@+id/new_game"
android:icon="@drawable/ic_new_game"
android:title="@string/new_game" />
<item android:id="@+id/quit"
android:icon="@drawable/ic_quit"
android:title="@string/quit" />
</menu>
and I'm really curious why this naming applies to identifiers. Is it because of Linux? What does this designation mean - @+id/...- does it have?
When I look at an attribute android:icon, I can interpret that it means that it ic_new_gameis in a folder with the ability to draw, and @means "is in" or I just assume that.
But id naming attributes are different because they also have a sign +. Can someone help me understand this agreement?
Thank.
Tarik