am f816fb72: am 45dfa63a: Merge change 25640 into eclair

Merge commit 'f816fb7248c450ac1da83612507e2604c2eb1478'

* commit 'f816fb7248c450ac1da83612507e2604c2eb1478':
  Make the EditText error popup correctly resize when the view resizes.
This commit is contained in:
Eric Fischer
2009-09-17 17:35:22 -07:00
committed by Android Git Automerger

View File

@@ -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();