aboutsummaryrefslogtreecommitdiffstats
path: root/eclipse/dictionary.txt
diff options
context:
space:
mode:
authorTor Norbye <tnorbye@google.com>2012-04-27 09:29:02 -0700
committerTor Norbye <tnorbye@google.com>2012-05-08 21:07:35 -0700
commitbc5879056fba2eb616dea06e6191bdc218b594c0 (patch)
tree9ad5b26cdb7099ae1e02076d5aa528b625553eae /eclipse/dictionary.txt
parent744109a2331c46902d5c978067fbebb1855763ee (diff)
downloadsdk-bc5879056fba2eb616dea06e6191bdc218b594c0.zip
sdk-bc5879056fba2eb616dea06e6191bdc218b594c0.tar.gz
sdk-bc5879056fba2eb616dea06e6191bdc218b594c0.tar.bz2
New Configuration Chooser
This changeset replaces the configuration chooser with a new UI. First, the two lines of comboboxes have been replaced by a toolbar, which will wrap to two lines if it cannot fit on a single line. However, it tries hard to avoid this scenario by using icons and brief labels. For example, the rendering target is displayed as an Android icon along with just "4.0" instead of "Android 4.0". Similarly, the "Other" locale is just shown as a globe icon, and for example in the Device list "4.65in 720p (Galaxy Nexus)" is display as just "Galaxy Nexus". Second, the "current configuration" label is now a dropdown instead. The text of the label displays the current configuration as before (though using the brief name, e.g. "layout-land" instead of "Landscape Configuration". In addition, it's a dropdown, and opening the menu will display all other available configurations for this file. Thus, if you have a special landscape version and a special tablet version of a particular layout, the menu will contain default, landscape and tablet (where the menu items display the full configuration names such as "Landscape Orientation"). In addition, the configuration menu also contains "Create New...", which is the new location for the Create button which used to be in the toolbar itself. Third, there is a new "Activity" dropdown. This displays the current activity associated with this layout, next to an Eclipse "class" icon. It is initially populated with our best guess of what the activity is. The chosen activity determines which theme is initially assigned to a layout (for example when there is a Manifest registration of a theme to an activity). In the future we will use this facility to drive other features as well, such as preview rendering the action bar (where we need to know the associated activity) or assisting with creating click handlers. The Activity dropdown menu also contains a "Open <Activity class>..." action for jumping to the associated Java code. The chosen activity is persisted as an XML attribute in the layout so it should be preserved across IDE sessions and shared among developers. Fourth, all the dropdown menus are now native SWT menus rather than dropdown menus, which means we can use icons, proper separators, and nesting. The locale menu now shows flag icons next to each region (and when a locale is chosen the corresponding icon is shown in the configuration toolbar). In the Theme menu we no longer need to use "-------" ASCII separators, we can use proper native menu separators instead. And the Theme menu is now nested; rather than a really long list of options, the menu is grouped into related sections: * Currently selected theme * Project Themes > * Manifest Themes > * Holo Themes > * Holo.Light Themes > * DeviceDefault Themes > ... * All > * Open "<current theme>" Declaration... Fifth, the device configuration combobox has been replaced by three inline icon radiobuttons, showing portrait, landscape and (if enabled) square. This makes it easy to switch orientation through a single click. Sixth, the UI mode (Normal/Car/Dock) and Night mode (Day/Night) are no longer directly shown in the configuration chooser since they are not used frequently enough to warrant persistent space in the always visible toolbar. Instead, there is an "Edit Configuration" icon on the left you can click which brings up a full editor dialog where all the previous combo boxes appear, along with the generic configuration qualifier selection dialog. Here you can make more specific edits to the current configuration state. There are various fixes as well. For example the whole toolbar is hidden during platform data loading and made visible at the end. When creating a new configuration file, that new configuration file is opened after creation. We now track whether the current theme (stored in the IDE persistent property) is a project theme or a framework theme. Change-Id: Ic8d9817c7bc4dbcae4535b6b9222393fb49cfde9
Diffstat (limited to 'eclipse/dictionary.txt')
-rw-r--r--eclipse/dictionary.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/eclipse/dictionary.txt b/eclipse/dictionary.txt
index f0432c6..fe8cc4b 100644
--- a/eclipse/dictionary.txt
+++ b/eclipse/dictionary.txt
@@ -58,6 +58,7 @@ configurability
congrats
coords
credentials
+cyclical
dalvik
ddms
deactivated
@@ -153,6 +154,7 @@ locale
locales
logo
lombok
+lopsided
lowercase
luminance
mac
@@ -166,6 +168,7 @@ metadata
micro
min
mipmap
+misaligned
monospace
monte
ms
@@ -271,6 +274,7 @@ stylesheet
subclassed
subclassing
submenu
+submenus
subregion
superclasses
supertype
@@ -317,6 +321,7 @@ varargs
verbosity
viewport
vs
+wallpaper
webtools
whilst
workflow