am 45dfa63a: Merge change 25640 into eclair

Merge commit '45dfa63af3c279ed1ed456a30bea4bf8cca67f83' into eclair-plus-aosp

* commit '45dfa63af3c279ed1ed456a30bea4bf8cca67f83':
  Make the EditText error popup correctly resize when the view resizes.
This commit is contained in:
Eric Fischer
2009-09-17 17:20:34 -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();