OSDN Git Service

Describe GridLayout matches in drag tooltip
authorTor Norbye <tnorbye@google.com>
Tue, 12 Jul 2011 17:59:59 +0000 (10:59 -0700)
committerTor Norbye <tnorbye@google.com>
Tue, 12 Jul 2011 18:13:14 +0000 (11:13 -0700)
commit6c3e630b93bf69edb8ff8d29f0a1e9384bc3c701
treec765c0a8e5f1cd2b5b5ae210c1cef99c17b75789
parent7e5ca4292f75cdbb5678be74a1d0e6d5709e3dfa
Describe GridLayout matches in drag tooltip

This CL adds a description of the current best match (horizontal and
vertical) in a drag tooltip, such as "Insert into bottom of row 5" or
"Align right at x=120".

Change-Id: I08d6b158c5e48d1881ec946037389609d8be9d83
eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/grid/GridDropHandler.java
eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/grid/GridMatch.java