Merge "Hint text is visible when using center gravity." into honeycomb
This commit is contained in:
committed by
Android (Google) Code Review
commit
11f9647e03
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user