Stephan,

That would be:

android.R.drawable.ic_menu_info_details

and so on.

-- Kostya

12.12.2010 10:26, [email protected] пишет:
Hi,
I create a menu by creating my items and setting their icons. This
works fine if I use icons in my drawable folder:

MenuItem itemHelp = menu.add(0, MENU_ITEM_HELP, Menu.NONE,
R.string.help);
itemHelp.setIcon(R.drawable.plus);


The question is: How do I reference the Android default icons?
In XML this would be:
android:icon="@android:drawable/ic_menu_info_details



Thanks,
Stephan



--
Kostya Vasilyev -- WiFi Manager + pretty widget -- http://kmansoft.wordpress.com

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to