Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e1c0ad6d authored by Fabrice Di Meglio's avatar Fabrice Di Meglio
Browse files

Fix bug #10397732 'X' icon of download manager UI error not mirrored

- use TextView.setCompoundDrawablesRelative() instead of setCompoundDrawables()

Change-Id: I4021236aa40d92ed9df0e354b8ce2287afa51168
parent 4196137c
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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) {