Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 11f9647e authored by Gilles Debunne's avatar Gilles Debunne Committed by Android (Google) Code Review
Browse files

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

parents 03245a8e 9a80a650
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -5779,11 +5779,10 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener

        int want = width - getCompoundPaddingLeft() - getCompoundPaddingRight();
        int unpaddedWidth = want;
        int hintWant = want;

        if (mHorizontallyScrolling)
            want = VERY_WIDE;
        if (mHorizontallyScrolling) want = VERY_WIDE;

        int hintWant = want;
        int hintWidth = mHintLayout == null ? hintWant : mHintLayout.getWidth();

        if (mLayout == null) {