Shrink-wrapped folders
Change-Id: Ida1b5d0bd4d39eabfde9f8a5bee0d4b6e9b33627
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user