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:
Sunny Goyal
2017-05-24 13:19:15 -07:00
parent 94652a207f
commit 368ae77201
12 changed files with 63 additions and 89 deletions
+1 -4
View File
@@ -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;