Adding back the widgets pane to the merged AllApps.
- Fixing issue with holographic drag outlines being drawn offset Change-Id: Ie0e89d76ce6714b44f9cd2ddf99ad608b51bf005
This commit is contained in:
1 parent
9e87bd8ee7
commit
4b576be59e
10 files changed
+424
-41
No files matched your search
@@ -180,7 +180,9 @@ public class PagedViewWidget extends LinearLayout implements Checkable {
|
||||
FastBitmapDrawable preview, int maxWidth, int[] cellSpan,
|
||||
PagedViewIconCache cache, boolean createHolographicOutline) {
|
||||
final ImageView image = (ImageView) findViewById(R.id.widget_preview);
|
||||
image.setMaxWidth(maxWidth);
|
||||
if (maxWidth > -1) {
|
||||
image.setMaxWidth(maxWidth);
|
||||
}
|
||||
image.setImageDrawable(preview);
|
||||
mPreviewImageView = image;
|
||||
final TextView name = (TextView) findViewById(R.id.widget_name);
|
||||
|
||||
Reference in new issue
Block a user