Loading core/java/android/widget/TextView.java +8 −1 Original line number Diff line number Diff line Loading @@ -3071,7 +3071,14 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener * @attr ref android.R.styleable#TextView_elegantTextHeight */ public void setElegantTextHeight(boolean elegant) { if (elegant != mTextPaint.isElegantTextHeight()) { mTextPaint.setElegantTextHeight(elegant); if (mLayout != null) { nullLayouts(); requestLayout(); invalidate(); } } } /** Loading Loading
core/java/android/widget/TextView.java +8 −1 Original line number Diff line number Diff line Loading @@ -3071,7 +3071,14 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener * @attr ref android.R.styleable#TextView_elegantTextHeight */ public void setElegantTextHeight(boolean elegant) { if (elegant != mTextPaint.isElegantTextHeight()) { mTextPaint.setElegantTextHeight(elegant); if (mLayout != null) { nullLayouts(); requestLayout(); invalidate(); } } } /** Loading