am 91ac3dc0: Merge "Use the same width as the TextView created layout." into honeycomb-mr1

* commit '91ac3dc06d1b99c5e63cda3b5ae0adfec406fd7a':
  Use the same width as the TextView created layout.
This commit is contained in:
Leon Scroggins
2011-03-04 09:35:25 -08:00
committed by Android Git Automerger

View File

@ -415,7 +415,7 @@ import junit.framework.Assert;
}
CharSequence text = getText();
// Copy from the existing Layout.
mLayout = new WebTextViewLayout(text, text, getPaint(), w,
mLayout = new WebTextViewLayout(text, text, getPaint(), mLayout.getWidth(),
mLayout.getAlignment(), mLayout.getSpacingMultiplier(),
mLayout.getSpacingAdd(), false, null, ellipsisWidth,
lineHeight);