On Oct 15, 5:21 am, kavya hn <[email protected]> wrote:

> I want to grayout one of the items in the menu in some usecase(I don't want
> to disbale it fully) .

As you pointed out, disabling the MenuItem will make it non-clickable.
So given that there's no MenuItem.setColor() method, methinks you'd
need to change its icon to a grayed out version - that's probably the
best you can do.

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