From 0dbd734384df38960515ce49dfcb5e15a394deca Mon Sep 17 00:00:00 2001 From: Winson Chung Date: Sun, 13 Oct 2013 22:46:20 -0700 Subject: Workaround for small icons. Draw icon drawables at the expected icon size. (Bug 11203738) Change-Id: If976ae8b3603e8bf42e8e857ce0b178d977b0a43 --- src/com/android/launcher3/Hotseat.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/com/android/launcher3/Hotseat.java') diff --git a/src/com/android/launcher3/Hotseat.java b/src/com/android/launcher3/Hotseat.java index 2aab64d73..094e188c7 100644 --- a/src/com/android/launcher3/Hotseat.java +++ b/src/com/android/launcher3/Hotseat.java @@ -150,7 +150,7 @@ public class Hotseat extends FrameLayout { TextView allAppsButton = (TextView) inflater.inflate(R.layout.all_apps_button, mContent, false); Drawable d = context.getResources().getDrawable(R.drawable.all_apps_button_icon); - d.setBounds(0, 0, Utilities.sIconTextureWidth, Utilities.sIconTextureHeight); + Utilities.resizeIconDrawable(d); allAppsButton.setCompoundDrawables(null, d, null, null); allAppsButton.setContentDescription(context.getString(R.string.all_apps_button_label)); -- cgit v1.2.3