From e1c0ad6d82bd4c4ba5c65e4951c5fcba170b2f55 Mon Sep 17 00:00:00 2001 From: Fabrice Di Meglio Date: Fri, 6 Sep 2013 17:52:05 -0700 Subject: Fix bug #10397732 'X' icon of download manager UI error not mirrored - use TextView.setCompoundDrawablesRelative() instead of setCompoundDrawables() Change-Id: I4021236aa40d92ed9df0e354b8ce2287afa51168 --- src/com/android/packageinstaller/InstallAppProgress.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/com/android/packageinstaller/InstallAppProgress.java b/src/com/android/packageinstaller/InstallAppProgress.java index 71c792ee..b690f8a3 100755 --- a/src/com/android/packageinstaller/InstallAppProgress.java +++ b/src/com/android/packageinstaller/InstallAppProgress.java @@ -124,7 +124,8 @@ public class InstallAppProgress extends Activity implements View.OnClickListener centerTextDrawable.setBounds(0, 0, centerTextDrawable.getIntrinsicWidth(), centerTextDrawable.getIntrinsicHeight()); - mStatusTextView.setCompoundDrawables(centerTextDrawable, null, null, null); + mStatusTextView.setCompoundDrawablesRelative(centerTextDrawable, null, + null, null); } mStatusTextView.setText(centerTextLabel); if (centerExplanationLabel != -1) { -- cgit v1.2.3