aboutsummaryrefslogtreecommitdiffstats
path: root/eclipse/dictionary.txt
diff options
context:
space:
mode:
authorTor Norbye <tnorbye@google.com>2011-09-07 11:28:54 -0700
committerTor Norbye <tnorbye@google.com>2011-09-28 16:15:25 -0700
commit4cd282c7b21dc06c2d2d02748278f07c94282fc1 (patch)
tree02096910dedd4f271e87426d63548cb0b588415b /eclipse/dictionary.txt
parentfc0cd95e9802d56b35331cb337c04e6dc29d4eff (diff)
downloadsdk-4cd282c7b21dc06c2d2d02748278f07c94282fc1.zip
sdk-4cd282c7b21dc06c2d2d02748278f07c94282fc1.tar.gz
sdk-4cd282c7b21dc06c2d2d02748278f07c94282fc1.tar.bz2
Grid Layout and Convert to Grid Layout improvements
First, some improvements to Grid Layout handling: (1) When dropping a new widget, look up the sizing metadata and use it to determine what fill gravity to set. For example, a button will use gravity left, and a text field will use gravity fill_horizontal. (2) Don't warn about reflection problems when failing to find GridLayout layout data; this probably means the layout is being attempted opened in an unsupporting SDK. There's a fallback case to compute the data instead already. Second, improvements to the conversion to GridLayout handling: (1) It now looks at the layout_gravity values to see whether each row and column is flexible, and if there's no flexible column in each of the horizontal and vertical dimensions, it will insert a special <Space> element to absorb any available extra space. This avoids constraints warnings from GridLayout. (2) It treats layout_width or layout_height attributes of match_parent or fill_parent as the same as a fill gravity (and removes it) and uses this in the flexibility computation above. (3) It removes unsupported layout params for all children (earlier this would only remove unsupported layout params on the direct children of the layout, which isn't enough when a hierarchy is being flattened.) (4) It's smarter about computing implicit rows and columns, so it avoids writing out redundant layout_row and layout_column attributes in some cases. (5) It avoids throwing refactoring errors in cases where an attribute is removed twice (6) Fixes a bug where the root layout was included when computing the set of used x and y coordinates, which means you'd often end up with a blank row and column 0. (7) Various refactoring to make the code cleaner. (8) More unit tests and updates to existing unit tests to reflect the new behavior such as an absorbing spacer and removal of redundant attributes. Change-Id: Iee44c3ca749eefc107b83545669cc9d7f84615b1
Diffstat (limited to 'eclipse/dictionary.txt')
-rw-r--r--eclipse/dictionary.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/eclipse/dictionary.txt b/eclipse/dictionary.txt
index b9f3106..65a89b3 100644
--- a/eclipse/dictionary.txt
+++ b/eclipse/dictionary.txt
@@ -232,6 +232,7 @@ stateful
stateless
stderr
stdout
+stretchable
stretchiness
struct
styleable