Merge "Hint text is visible when using center gravity." into honeycomb

This commit is contained in:
Gilles Debunne
2011-01-31 15:29:56 -08:00
committed by Android (Google) Code Review

View File

@@ -5779,11 +5779,10 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener
int want = width - getCompoundPaddingLeft() - getCompoundPaddingRight();
int unpaddedWidth = want;
if (mHorizontallyScrolling) want = VERY_WIDE;
int hintWant = want;
if (mHorizontallyScrolling)
want = VERY_WIDE;
int hintWidth = mHintLayout == null ? hintWant : mHintLayout.getWidth();
if (mLayout == null) {