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
diff --git a/src/com/android/launcher2/CellLayout.java b/src/com/android/launcher2/CellLayout.java
index fd389ca..73e0c8f 100644
--- a/src/com/android/launcher2/CellLayout.java
+++ b/src/com/android/launcher2/CellLayout.java
@@ -625,6 +625,7 @@
child.setId(childId);
addView(child, index, lp);
+ child.setAlpha(getAlpha());
if (child instanceof VisibilityChangedBroadcaster) {
VisibilityChangedBroadcaster v = (VisibilityChangedBroadcaster) child;
v.setVisibilityChangedListener(this);