Merge "Use the same width as the TextView created layout." into honeycomb-mr1

This commit is contained in:
Leon Scroggins
2011-03-04 09:32:14 -08:00
committed by Android (Google) Code Review

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