[android-developers] Gallery popup menu

2010-09-07 Thread viktor
Hi,

In common Android Gallery you can see nice popup menu, Gallery---
menu(More) or menu (Share).

Enyone know how to implement such kind of menu?

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


Re: [android-developers] Gallery popup menu

2010-09-07 Thread Mark Murphy
On Tue, Sep 7, 2010 at 7:37 AM, viktor victor.scherb...@gmail.com wrote:
 In common Android Gallery you can see nice popup menu, Gallery---
menu(More) or menu (Share).

 Enyone know how to implement such kind of menu?

I assume you are referring to the context menu you get from
long-tapping on an item. You can add such a menu to any widget you
want in your activity:

http://developer.android.com/guide/topics/ui/menus.html#context-menu

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

Android Training in London: http://skillsmatter.com/go/os-mobile-server

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