diff options
author | Tor Norbye <tnorbye@google.com> | 2011-06-09 17:44:03 -0700 |
---|---|---|
committer | Tor Norbye <tnorbye@google.com> | 2011-06-10 18:02:31 -0700 |
commit | 0b95acc1693f67140e988567211c13ca2eb9f926 (patch) | |
tree | 89d51e0a0c5e0cf1a6024cb09fff6e01e12be84d /eclipse/dictionary.txt | |
parent | 9270799754eb69585f9b2210281aee4637dbf13a (diff) | |
download | sdk-0b95acc1693f67140e988567211c13ca2eb9f926.zip sdk-0b95acc1693f67140e988567211c13ca2eb9f926.tar.gz sdk-0b95acc1693f67140e988567211c13ca2eb9f926.tar.bz2 |
RelativeLayout: Assign ids dynamically, handle multi-drag, bugs
This CL fixes three issues with the new relative layout interaction:
(1) Assign ids dynamically. Before this changeset you couldn't attach
to a node which does not have an @id attribute, since layout
params need to name the constraint by id.
This changeset changes this such that you can attach to any
arbitrary edge, and when you commit the drag, a unique id is
generated on the fly and assigned to the node.
(2) Handle dragging multiple nodes at the same time. The new
constraints code was unconditionally applying the same constraints
to all the dragged nodes, which meant they ended up on top of each
other. This fixes things such that the first node is assigned the
new constraints, and then all subsequent nodes are attached one
next to the other, in a direction depending on which edge you
attached to (e.g. attaching on the right will arrange the siblings
towards the left out from the edge.)
(3) Fix a bug in the code to detect and prevent cycles.
Change-Id: I157d45e117d3229f285870517b85ed902607b966
Diffstat (limited to 'eclipse/dictionary.txt')
-rw-r--r-- | eclipse/dictionary.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/eclipse/dictionary.txt b/eclipse/dictionary.txt index 853cb3c..86f5e2f 100644 --- a/eclipse/dictionary.txt +++ b/eclipse/dictionary.txt @@ -152,6 +152,7 @@ num ok os palette +param params pings placeholder |