All applications and all components define the layout of their user interface in an XML file.
所有应用程序和所有组件都在XML文件中定义其用户界面的布局。
It provides a widget, of course, but also the actions that give access to the Part's functionality, as well as an XML file that describes the layout of those actions in the user interface.
它提供一个窗口构件,当然还提供给予Part功能访问权的操作,以及描述这些操作在用户界面中的布局的XML文件。
Listing 1. main.xml, the user interface layout file.
清单1 . main . xml,用户界面布局文件。
应用推荐