android菜单
by tomerpacific
通过tomerpacific
Android菜单介绍 (An introduction to Android menus)
您想了解的有关Android菜单的所有信息 (Everything you want to know about Android menus)
There are three types of menus in Android: Popup, Contextual and Options. Each one has a specific use case and code that goes along with it. To learn how to use them, read on.
Android中有三种类型的菜单:弹出菜单,上下文菜单和选项。 每个案例都有一个特定的用例以及相关的代码。 要了解如何使用它们,请继续阅读。
Each menu must have an XML file related to it which defines its layout. These are the tags associated with the menu option:
每个菜单必须具有与其相关的XML文件,该文件定义了其布局。 这些是与菜单选项关联的标签:
<menu> - This is the container element for your menu (similar to LinearLayout)
<menu>-这是菜单的容器元素(类似于LinearLayout)
翻译自: https://www.freecodecamp.org/news/an-introduction-to-android-menus-c9f382264b49/
android菜单