阅读背景:

如何在按键上实现上下文菜单而不是长点击

来源:互联网 

I have a ListActivity and I want to implement context menu for each of the list elements. I know that the common way to do this is to show the context menu on long click/tap. I want to know if there is a way to show the context menu for each element on a key press(preferably the menu key). To rephrase my question, how can I trigger the context menu and not the options menu by pressing the menu key(or any other key). I have a ListActivity and I want to implement c




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: