Hi GiladH,

I have the same problem than you.
But after some investigations, I have found that Context menus do not
support item shortcuts, item icons, and sub menus.

For a more detailed description on what do Context menus support, you
can go to:
http://developer.android.com/reference/android/view/Menu.html

Hope this will help others.
Guillaume


On Feb 11, 6:26 am, GiladH <[email protected]> wrote:
> Hi,
>
> While Contextmenu items support calling setIcon :
>
>                menu.add(0, ....).setIcon( R.drawable.xxx);
>
> theiconnever gets displayed.
>
> Is this a bug? a feature?
>
> Is there a reasonably priced workaround for getting icons ontocontext
> menus?
>
> TIA,
> GiladH

--~--~---------~--~----~------------~-------~--~----~
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