I have never met this method of passing id, but theoretically this means adding a new package id title to android . This way you can use it in your code, for example android.R.id.title . But I'm not sure if the resource compiler will really create any identifier in the android package. I think it can only be used with predefined identifiers. But I will give you a more accurate answer later, when I can check it.
EDIT : I checked it and found some differences. First, if you define the Android identifier using @+android:id/some_id , which is already in the SDK, that identifier will not be defined in your R.java file. If it is not present in the SDK, it will be defined in R.java, but with a different value. Secondly, if you try to convert the id from its string representation to an int value, the Resources.getIdentifier() method will return 0 in the case of the @+android:id format.
source share