summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/Folder.java
diff options
context:
space:
mode:
authorWinson Chung <winsonc@google.com>2013-10-13 22:46:20 -0700
committerWinson Chung <winsonc@google.com>2013-10-13 22:46:20 -0700
commit0dbd734384df38960515ce49dfcb5e15a394deca (patch)
tree634a0c30be4fcb211333f506d1dca06b47ce0682 /src/com/android/launcher3/Folder.java
parent01c0214f727a25088ec4d62e64579155001cef9b (diff)
downloadandroid_packages_apps_Trebuchet-0dbd734384df38960515ce49dfcb5e15a394deca.tar.gz
android_packages_apps_Trebuchet-0dbd734384df38960515ce49dfcb5e15a394deca.tar.bz2
android_packages_apps_Trebuchet-0dbd734384df38960515ce49dfcb5e15a394deca.zip
Workaround for small icons. Draw icon drawables at the expected icon size. (Bug 11203738)
Change-Id: If976ae8b3603e8bf42e8e857ce0b178d977b0a43
Diffstat (limited to 'src/com/android/launcher3/Folder.java')
-rw-r--r--src/com/android/launcher3/Folder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/launcher3/Folder.java b/src/com/android/launcher3/Folder.java
index 5231aacf5..ce2edbed2 100644
--- a/src/com/android/launcher3/Folder.java
+++ b/src/com/android/launcher3/Folder.java
@@ -533,7 +533,7 @@ public class Folder extends LinearLayout implements DragSource, View.OnClickList
final BubbleTextView textView =
(BubbleTextView) mInflater.inflate(R.layout.application, this, false);
textView.setCompoundDrawablesWithIntrinsicBounds(null,
- new FastBitmapDrawable(item.getIcon(mIconCache)), null, null);
+ Utilities.createIconDrawable(item.getIcon(mIconCache)), null, null);
textView.setText(item.title);
textView.setTag(item);
textView.setTextColor(getResources().getColor(R.color.folder_items_text_color));