mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-01 08:16:49 +00:00
Workaround for small icons. Draw icon drawables at the expected icon size. (Bug 11203738)
Change-Id: If976ae8b3603e8bf42e8e857ce0b178d977b0a43
This commit is contained in:
@@ -110,8 +110,7 @@ public class BubbleTextView extends TextView {
|
||||
DeviceProfile grid = app.getDynamicGrid().getDeviceProfile();
|
||||
|
||||
setCompoundDrawablesWithIntrinsicBounds(null,
|
||||
new FastBitmapDrawable(b),
|
||||
null, null);
|
||||
Utilities.createIconDrawable(b), null, null);
|
||||
setCompoundDrawablePadding((int) ((grid.folderIconSizePx - grid.iconSizePx) / 2f));
|
||||
setText(info.title);
|
||||
setTag(info);
|
||||
|
||||
Reference in New Issue
Block a user