diff options
author | Tor Norbye <tnorbye@google.com> | 2012-09-12 12:11:47 -0700 |
---|---|---|
committer | Tor Norbye <tnorbye@google.com> | 2012-09-17 07:43:29 -0700 |
commit | fe51dba2aa25e559786e5da315d4db714ffe7559 (patch) | |
tree | 058d343ffda252403da6b47813d6ab1eac1af711 /eclipse/dictionary.txt | |
parent | d38457bd813f7591e13a58bf91655192d761d81a (diff) | |
download | sdk-fe51dba2aa25e559786e5da315d4db714ffe7559.zip sdk-fe51dba2aa25e559786e5da315d4db714ffe7559.tar.gz sdk-fe51dba2aa25e559786e5da315d4db714ffe7559.tar.bz2 |
Support separate layout editors for a single layout resource
This changeset changes the "reuse" behavior of the layout editor to no
longer reuse the same layout editor when you are switching between
alternate layout files for the same layout resource, such as
layout/foo.xml and layout-land/foo.xml. This lets you more quickly
switch back and forth and inspect differences between the layouts,
etc. There is also an option in the Android > Editors panel to turn on
single editor sharing again.
The biggest part of the changeset, by far, is a cleanup of the
ConfigurationComposite class and associated code. This was necessary
not just to support the above feature (where we need to "back out" UI
changes when you've made a configuration edit which results in a
different file getting opened), but it's also an important preparation
for multi configuration editing, where we need to be able to switch
configuration settings in and out of a single configuration editor,
etc.
The configuration data itself is now in a separate Configuration
class; the UI is in ConfigurationChooser, and the configuration
matching code is in ConfigurationMatcher. There's also a new Locale
class to track language/region pairs instead of using 2-element
ResourceQualifier arrays. The various menu listeners are also in
separate UI classes now. While there are new classes, most of the
configuration matching algorithm is unchanged, just moved to a new
class and the UI syncing and configuration data lookup replaced.
Bitmasks are used to handle configuration changes, such that updating
multiple related attributes (e.g. a rendering target change also
causes a theme change if say Holo isn't available) can now be processed
just once with a single change call.
(Various other cleanup too.)
Change-Id: I04ac969f46824321be3db0c487ef077c03cc6012
Diffstat (limited to 'eclipse/dictionary.txt')
-rw-r--r-- | eclipse/dictionary.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/eclipse/dictionary.txt b/eclipse/dictionary.txt index e2c4340..d678c2d 100644 --- a/eclipse/dictionary.txt +++ b/eclipse/dictionary.txt @@ -240,6 +240,7 @@ registry reindent reindenting remap +renderable reparse reparses rescales @@ -306,6 +307,7 @@ timestamp timestamps tmp toolbar +toolbars tooltip tooltips traceview |