sam wrote: > Thanks for your replies, i want to change the menu item status from > disable to enabled while it is displaying on the screen.
If you are trying to say you want the user to click the MENU choice, sit there for several minutes without touching anything and without the screen powering off, then something happens in the background and causes the menu to change...that is *really* esoteric. You can try holding onto the Menu object and making changes to it, but I doubt that will work. > i can enable it but the menu item does not re-paint themselves when > they are on the screen. That does not surprise me. Using hierarchyviewer, it appears that the menu is not even part of the activity's window, but rather its own separate window. The menu data probably gets passed to this window only when the menu opens, not if you change the menu while open. > any other comments? You are welcome to implement your own menu system that enables this capability. You are not reliant upon Android's. Just use animations to slide up a panel, and render your own menu choices, when the user clicks the MENU button (which you trap via onKeyDown()). Otherwise, I would focus on the menu working like an ordinary menu, and move onto more important things. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android Development Wiki: http://wiki.andmob.org --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

