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

Commit e19246a3 authored by Gilles Debunne's avatar Gilles Debunne Committed by Android Git Automerger
Browse files

am 11f9647e: Merge "Hint text is visible when using center gravity." into honeycomb

* commit '11f9647e':
  Hint text is visible when using center gravity.
parents 8a92eeb8 11f9647e
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) {