What is the difference between:
android:id="@android:id/id_name1"
and
android:id="@+id/id_name2"
What is the difference between:
android:id="@android:id/id_name1"
and
android:id="@+id/id_name2"
The first sample references an id defined in the Android SDK itself. The second sample creates a new id in your application's namespace.