diff options
| author | Raph Levien <raph@google.com> | 2014-06-05 15:26:59 -0700 |
|---|---|---|
| committer | Raph Levien <raph@google.com> | 2014-06-05 22:30:37 +0000 |
| commit | e1c4a0d2999b5e05aa1113b9d74bd56f95ab7b1b (patch) | |
| tree | 093bdf16bdb80a88771c4c1089eb74fb77d8f5de /core/java/android/widget/TextView.java | |
| parent | 19c0ebca594090f12a20f63d37ba570da660105a (diff) | |
Make elegantTextHeight xml attribute public
The elegantTextHeight attribute of TextView was made public through
Java code, but the corresponding attribute wasn't public. This patch
makes it so.
This is a fix for bug 15428791 "elegantTextHeight is hidden (not in
android.R.attr)"
Change-Id: I7011f10ae58fd2e212da9cbaca4a484f011d8fed
Diffstat (limited to 'core/java/android/widget/TextView.java')
| -rw-r--r-- | core/java/android/widget/TextView.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/java/android/widget/TextView.java b/core/java/android/widget/TextView.java index a4a9680e0995..43c8ddeab253 100644 --- a/core/java/android/widget/TextView.java +++ b/core/java/android/widget/TextView.java @@ -222,6 +222,7 @@ import static android.os.Build.VERSION_CODES.JELLY_BEAN_MR1; * @attr ref android.R.styleable#TextView_imeActionLabel * @attr ref android.R.styleable#TextView_imeActionId * @attr ref android.R.styleable#TextView_editorExtras + * @attr ref android.R.styleable#TextView_elegantTextHeight */ @RemoteView public class TextView extends View implements ViewTreeObserver.OnPreDrawListener { @@ -2637,6 +2638,8 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener * metrics, and also increases top and bottom bounds to provide more space. * * @param elegant set the paint's elegant metrics flag. + * + * @attr ref android.R.styleable#TextView_elegantTextHeight */ public void setElegantTextHeight(boolean elegant) { mTextPaint.setElegantTextHeight(elegant); |
