OSDN Git Service

Fix included-in overlay mask
authorTor Norbye <tnorbye@google.com>
Wed, 9 Feb 2011 20:45:35 +0000 (12:45 -0800)
committerTor Norbye <tnorbye@google.com>
Wed, 9 Feb 2011 20:45:35 +0000 (12:45 -0800)
commite7a41238a05f9b4a992b0d2631620c1d07bfee8a
tree4a3a3920fecccfafff2e071bd751d6aa4376eeac
parent45d1ca96fdac3505c43aa58b1b932621d3057235
Fix included-in overlay mask

When you show a view as included within another layout, there should
be a semi-translucent mask over the surrounding context. This did not
work in all cases (in particular, when there was no merge cookie).

This changeset makes it work in non-mergecookie scenarios as well.

Change-Id: I724fa3a0f0bfd612c4d4a8850c307a5664200d10
eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/CanvasViewInfo.java
eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gle2/CanvasViewInfoTest.java