mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-02 17:06:49 +00:00
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:
@@ -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