Hi!

I have a spinner that I've read from an XML file.  When I click the
spinner, it pops up a list of stuff.  I'd like to connect a context
menu to the popped up list.  How can I do that?

I have attempted registerForContextMenu(Spinner), but that adds the
context menu to the spinner itself rather than the list it pops up.

  Help! //Johan

Spinner setup code:
http://bazaar.launchpad.net/~walles/sl/trunk/annotate/49/StockholmPublicTransport/src/com/johan/sl/SL.java#L140

Spinner XML (it's the fromSpinner and the toSpinner that I want to
provide with context menus):
http://bazaar.launchpad.net/~walles/sl/trunk/annotate/49/StockholmPublicTransport/src/com/johan/sl/SL.java#L140
--~--~---------~--~----~------------~-------~--~----~
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to