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,用户界面布局文件。
This approach also makes the whole user interface configurable, with the GUI layout being described in an XML file separate from the code of the application.
这种方法还会使整个用户界面是可配置的,而且在XML文件中描述的GUI布局与应用程序代码分开。
This approach also makes the whole user interface configurable, with the GUI layout being described in an XML file separate from the code of the application.
这种方法还会使整个用户界面是可配置的,而且在XML文件中描述的GUI布局与应用程序代码分开。
应用推荐