Defining a dark theme for launcher
> Removing the code for LIGHT_STATUS_BAR as that will be controlled by the theme > Updating icon cache to always use transparent background for low-res, as the theme can change the bg color Change-Id: Iab64ec29cab629ee515af22ec15b95d3f40a9df5
This commit is contained in:
@@ -3166,11 +3166,8 @@ public class Workspace extends PagedView
|
||||
this.cellX = cellX;
|
||||
this.cellY = cellY;
|
||||
|
||||
DeviceProfile grid = mLauncher.getDeviceProfile();
|
||||
BubbleTextView cell = (BubbleTextView) layout.getChildAt(cellX, cellY);
|
||||
|
||||
bg.setup(getResources().getDisplayMetrics(), grid, null,
|
||||
cell.getMeasuredWidth(), cell.getPaddingTop());
|
||||
bg.setup(mLauncher, null, cell.getMeasuredWidth(), cell.getPaddingTop());
|
||||
|
||||
// The full preview background should appear behind the icon
|
||||
bg.isClipping = false;
|
||||
|
||||
Reference in New Issue
Block a user