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 committed 2017-05-24 14:34:04 -07:00
1 parent 94652a207f
commit 368ae77201
12 files changed
+63 -89

No files matched your search

+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;