Saturday, October 17, 2009

[android-developers] Re: Disable context menu not working ... bug?

Jason Van Anden wrote:
> I am setting setEnabled = false for a Context Menu item.
>
> The item appears grayed out ... but I can still click on it. When I do,
> the menu closes.
>
> This does not seem to like the correct behavior to me.
>
> Is this a bug or a misunderstood feature? Anyone else experiencing this?

I can tell you that I see the same behavior in 1.5 and 1.6. I hadn't
tried a disabled context menu item before.

I can see arguments either way as to whether it is correct behavior, so
I do not know whether it is a bug or not.

--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

_Android Programming Tutorials_ Version 1.0 In Print!

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

No comments:

Post a Comment