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
This commit is contained in:
Michael Jurka committed 2011-01-10 21:41:55 -08:00
1 parent 098f9d0cf0
commit 24232cc399
1 file changed
+1
@@ -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);