WidgetTray UI improvement

- Long application title should be ellipsized
- Disable the drawable when the view is no longer attached to the window
- Save the PackageItemInfo to the WidgetModel once full res icon bitmap is loaded

b/19897708

Change-Id: I96f260f9d165b206905a127fcee9879556c3d0c4
This commit is contained in:
Hyunyoung Song committed 2015-04-09 16:54:31 -07:00
1 parent 3f471440a8
commit a23dab9c64
5 files changed
+9 -2

No files matched your search

@@ -120,7 +120,7 @@ public class WidgetCell extends LinearLayout implements OnLayoutChangeListener {
Log.d(TAG, String.format("[tag=%s] onDetachedFromWindow", getTagToString()));
}
super.onDetachedFromWindow();
deletePreview(false);
deletePreview(true);
}
public void deletePreview(boolean recycleImage) {