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

Commit 45dfa63a authored by Android (Google) Code Review's avatar Android (Google) Code Review
Browse files

Merge change 25640 into eclair

* changes:
  Make the EditText error popup correctly resize when the view resizes.
parents 1c7c3556 fa0d253b
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -3408,7 +3408,8 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener
        if (mPopup != null) {
            TextView tv = (TextView) mPopup.getContentView();
            chooseSize(mPopup, mError, tv);
            mPopup.update(this, getErrorX(), getErrorY(), -1, -1);
            mPopup.update(this, getErrorX(), getErrorY(),
                          mPopup.getWidth(), mPopup.getHeight());
        }

        restartMarqueeIfNeeded();