And just like your application layout, you have the option to declare the items for you menu in an XML file.
如同应用程序布局一样。你也可以在一个XML文件中定义你菜单中的项目。
Figure 8 shows a sample side navigation menu with updates to colors, menu styles, and layout.
图8显示的是修改了颜色、菜单样式和布局的示例侧边导航菜单。
Figure 1 shows the basic layout of the main menu with the two options.
图1显示了主菜单的基本布局,共含有两个选项。
应用推荐