通过在操作栏添加一个新图标和下拉菜单选项而修改ui。
Modifying the UI by adding an icon to the action bar and adding drop-down menu choices.
Redbook使用两个例子说明了如何向操作栏添加新的菜单选项。
The Redbook shows how to add new menu options to the action bar using two examples. One adds a function for showing a Web page — in the case of the following example, the ITSO IBM Redbook Web page.
现在,我们将创建包含按钮图像的文件夹(已在操作栏中添加该按钮)。
Now, you create the folder that includes your image for the button that you add to the action bar.
为了避免调整您的布局时,操作栏隐藏和显示,您可以启用叠加模式的操作栏。
To avoid resizing your layout when the action bar hides and shows, you can enable overlay mode for the action bar.
如果没有父母样式化,你的操作栏将不很多样式属性,除非你明确自己声明它们。
Without a parent style, your action bar will be without many style properties unless you explicitly declare them yourself.
如前所述,从创建简单的插件开始讨论,该插件在操作栏上放置一个按钮,如图2所示。
As mentioned earlier, we begin by creating a simple plug-in that places a button on the action bar as shown in figure 2.
应用允许用户选择一个或多个邮件,然后从操作栏中选取操作,如将他们移到一个文件夹中。
The app lets users select one or more messages, then select an action from the action Bar, such as moving them to a folder.
这掩盖了一些布局的顶部,但现在当操作栏隐藏或显示,系统并不需要调整您的布局和过渡是无缝的。
This obscures some of the layout at the top, but now when the action bar hides or appears, the system does not need to resize your layout and the transition is seamless.
当覆盖模式,你的活动布局使用所有可用的空间,如果操作栏是不存在的,系统的绘制操作栏的布局面前。
When in overlay mode, your activity layout USES all the space available as if the action bar is not there and the system draws the action bar in front of your layout.
默认情况下,操作栏会出现在你的活动窗口的顶部,略有减少了可用空间为您的活动布局的其余部分的金额。
By default, the action bar appears at the top of your activity window, slightly reducing the amount of space available for the rest of your activity's layout.
应用程序在使用中,“操作栏”将始终显示,不过它的内容、主题和其他属性将由应用程序而不是系统来管理。
The Action Bar is always present when an application is in use, although its content, theme, and other properties are managed by the application rather than the system.
操作栏。编辑器(Editor)和视图(View)可以为工具栏、菜单和上下文菜单提供操作(action)。
Action bars — Editors and Views may contribute Actions to toolbars, menus, and context menus.
还可以对LotusSametime进行其他扩展,以按钮的形式在操作栏、弹出菜单和工具栏菜单中添加新功能。
Lotus Sametime can also be extended to add functionality in the form of buttons on the action bar, pop-up menus, and toolbar menus.
您可以通过使用这个弹出式菜单(图23)或者弹出式操作栏(图24),为可视化 C++类添加新的域和操作。
You can add new fields and operations to a visualized C++ class by using either the pop-up menu (Figure 23) or the pop-up action bar (Figure 24).
概要部分位于可收起的左边面板中,而主体区域包含一个轻量级菜单小部件(针对操作栏)和一个轻量级虚拟列表小部件。
The outline is within a collapsible left panel, and the main area includes a lighter menu widget for the action bar as well as a lighter virtual list widget.
在每个应用程序中,用户都可以通过显示于屏幕顶部的操作栏来访问环境相关选项、导航、widgets或其他类型的内容。
In every application, users have access to contextual options, navigation, widgets, or other types of content in an Action Bar, displayed at the top of the screen.
进入数据选择模式。允许你通过使用一个上下文的操作栏选择一种或者更多项目在你的视图里。避免为了显示上下文的菜单而长时间长按。
Enters data selection mode. Allows you to select one or more items in a view and act upon the data using a contextual action bar. Avoid using long press for showing contextual menus.
您还可以收起侧边栏,为显示邮件提供更大的空间。此外,也可以使用sidebar操作栏按钮或面板分配器显示或隐藏侧边栏(见图4)。
You can also collapse the sidebar to maximize the available space for displaying mail, and you can use the sidebar action bar button or the panel divider to display or hide the sidebar (see figure 4).
请参阅标题为SOAP消息样式和操作编码的侧栏以及表2以获取关于这些不同样式和模式的更多信息。
See the sidebar entitled SOAP Messaging style and Operation Encoding and Table 2 for more on these different styles and modes.
Visualiser支持一个选择机制,该机制可以通过鼠标或键盘操作来选择栏、类或条带。
The Visualiser supports a selection mechanism, which can be operated via the mouse or the keyboard, to select columns, classes, or stripes.
接下来,我们将扩展小型应用程序,使其包含工具栏中一项操作的视图。
Next, we extend the small application to contain a view with an action in the toolbar.
现在,让我们最后一次启动资源管理器,看看操作中的工具栏和弹出菜单(图9和图10)。
And now, for the last time, let's fire up Explorer and see the toolbar and the pop-up menu in operation (figures 9 and 10).
你也可以通过使用工具栏上的导航按钮来操作浏览图。
You can also navigate through Browse diagrams by using the navigation buttons on the toolbar.
将您的鼠标移动到类框架上,然后一个用于添加属性和操作的工具栏会显示出来。
Move the mouse over the class frame, and a toolbar for adding attributes and operations is displayed.
拥有一个可编辑的文本对象后,您需要向编辑工具栏添加一些操作,如图6所示。
Now that you have an editable text object, you need to add actions to the edit toolbar, shown in Figure 6.
视图工具栏上的按钮代表各种操作,这些操作只能影响到该视图中的项目。
The actions represented by buttons on view toolbars only affect the items within that view.
子导航栏允许内部操作,例如,在日历视图中创建活动以及在活动视图中编辑或删除活动。
The subnavigation bar allows internal actions, such as creating events from within the calendar views and editing or deleting events from the event view.
框架支持多个外部链接、内部视图和内部操作的导航栏。
The frame supports multiple navigation bars, for external links, internal views, and internal actions.
例如,KDE的工具栏编辑器只保存XML文件的已修改版本,它定义哪些操作应该放在工具栏上以及它们的顺序。
KDE's toolbar editor, for instance, simply saves a modified version of the XML file that defines which actions should go to the toolbars and in which order.
例如,KDE的工具栏编辑器只保存XML文件的已修改版本,它定义哪些操作应该放在工具栏上以及它们的顺序。
KDE's toolbar editor, for instance, simply saves a modified version of the XML file that defines which actions should go to the toolbars and in which order.
应用推荐