Setting alpha/hardware layers directly in All Apps
Changing it so that PagedViewCellLayout has alpha and hardware layers set directly on itself rather than its child view
This commit is contained in:
1 parent
336d491492
commit
ee7c1d8dc2
2 files changed
+2
-14
No files matched your search
@@ -141,13 +141,6 @@ public class PagedViewCellLayoutChildren extends ViewGroup {
|
||||
}
|
||||
}
|
||||
|
||||
void destroyHardwareLayer() {
|
||||
setLayerType(LAYER_TYPE_NONE, null);
|
||||
}
|
||||
void createHardwareLayer() {
|
||||
setLayerType(LAYER_TYPE_HARDWARE, null);
|
||||
}
|
||||
|
||||
public void enableCenteredContent(boolean enabled) {
|
||||
mCenterContent = enabled;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user