Workaround for small icons. Draw icon drawables at the expected icon size. (Bug 11203738)
Change-Id: If976ae8b3603e8bf42e8e857ce0b178d977b0a43
This commit is contained in:
1 parent
01c0214f72
commit
0dbd734384
5 files changed
+21
-5
No files matched your search
@@ -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));
|
||||
|
||||
Reference in new issue
Block a user