Shrink-wrapped folders

Change-Id: Ida1b5d0bd4d39eabfde9f8a5bee0d4b6e9b33627
This commit is contained in:
Adam Cohen committed 2011-05-16 17:17:27 -07:00
1 parent b3715fe227
commit 2801cafe62
19 files changed
+448 -174

No files matched your search

+6 -3
View File
@@ -389,10 +389,13 @@ public class Workspace extends SmoothPagedView
if (!(child instanceof CellLayout)) {
throw new IllegalArgumentException("A Workspace can only have CellLayout children.");
}
((CellLayout) child).setOnInterceptTouchListener(this);
child.setOnClickListener(this);
child.setClickable(true);
CellLayout cl = ((CellLayout) child);
cl.setOnInterceptTouchListener(this);
cl.setOnClickListener(this);
cl.setClickable(true);
cl.enableHardwareLayers();
}
@Override
public void addView(View child, int index, LayoutParams params) {
onAddView(child);