Android XML. What is the purpose of the star in the ID string?

Posted by alex2k8 on Stack Overflow See other posts from Stack Overflow or by alex2k8
Published on 2011-01-16T03:49:47Z Indexed on 2011/01/16 3:53 UTC
Read the original article Hit count: 225

Filed under:
|

In some sources I see such declarations

<item
    android:id="@+id/menu_display_groups"
    android:icon="@*android:drawable/ic_menu_allfriends"
    android:title="@string/menu_displayGroup" />

Notice the *

@*android:

It seems to give access to internal resources. But would like to know for sure.

Also curious, if it is safe to build application with such declarations using Android 2.2 SDK, and run it on 1.5.

© Stack Overflow or respective owner

Related posts about android

Related posts about id-string