Diffence between Menu and Context Menu and Creating steps of these

随声附和 提交于 2019-12-13 20:34:26

问题


What is the difference between Menu and Context Menu? How they are creating in android, menu including edit, delete, copy and many other option in android. here, by using list items during creating context menu and menu.


回答1:


There are three types of Menus

  • Option Menu (If you click on Hardware Menu button your option menu will come into play)
  • Context Menu (If you long click on any list item in list view (your context menu will come into play we have to register context menu to work)
  • SubMenu


来源:https://stackoverflow.com/questions/7091122/diffence-between-menu-and-context-menu-and-creating-steps-of-these

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!