From 24232cc39912a1b4c53d5e4df69c29bff2ead49a Mon Sep 17 00:00:00 2001 From: Michael Jurka Date: Mon, 10 Jan 2011 21:41:55 -0800 Subject: [PATCH] fix bug with alpha level of items on workspace - fixed bug where side pages on workspace were visible on orientation changes - fixed bug where dragging an item to a new page would cause it to be invisible initially --- src/com/android/launcher2/CellLayout.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/com/android/launcher2/CellLayout.java b/src/com/android/launcher2/CellLayout.java index fd389caeb9..73e0c8fb4f 100644 --- a/src/com/android/launcher2/CellLayout.java +++ b/src/com/android/launcher2/CellLayout.java @@ -625,6 +625,7 @@ public class CellLayout extends ViewGroup implements Dimmable, VisibilityChanged child.setId(childId); addView(child, index, lp); + child.setAlpha(getAlpha()); if (child instanceof VisibilityChangedBroadcaster) { VisibilityChangedBroadcaster v = (VisibilityChangedBroadcaster) child; v.setVisibilityChangedListener(this);