Merge "Defining HomeScreenElementTheme for elements which appear on top of wallpaper" into ub-launcher3-master

This commit is contained in:
Sunny Goyal
2017-03-13 18:58:03 +00:00
committed by Android (Google) Code Review
21 changed files with 47 additions and 32 deletions

View File

@@ -180,7 +180,8 @@ public class FolderIcon extends FrameLayout implements FolderListener {
}
DeviceProfile grid = launcher.getDeviceProfile();
FolderIcon icon = (FolderIcon) LayoutInflater.from(launcher).inflate(resId, group, false);
FolderIcon icon = (FolderIcon) LayoutInflater.from(group.getContext())
.inflate(resId, group, false);
icon.setClipToPadding(false);
icon.mFolderName = (BubbleTextView) icon.findViewById(R.id.folder_icon_name);