Mark, the topic says submenu, but if you look at the first post it
does deal with a context menu :
When I long press a contact,
then a sub menu pops up - to let me 'edit','remove' ... he just
called it a submenu (because it looks exactly the same).
So the standard way to do this is like I
Activity.registerContextMenu(View);
Then override onContextMenu methods.
On Nov 29, 11:12 am, zLarry [EMAIL PROTECTED] wrote:
help...
On 11月29日, 下午2时02分, zLarry [EMAIL PROTECTED] wrote:
Like android bundled contact applicaiton. When I long press a contact,
then a sub menu pops up - to
zLarry wrote:
Like android bundled contact applicaiton. When I long press a contact,
then a sub menu pops up - to let me 'edit','remove' ...
how to implement that? I was confused for a long time!
Use Menu#addSubMenu().
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Android
3 matches
Mail list logo