summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Haoyu Zhang <haoyuchang@google.com> 2018-09-07 15:00:49 -0700
committer Haoyu Zhang <haoyuchang@google.com> 2018-09-12 12:13:04 +0000
commitaff7bd76ec9d542e5ab61e54c5e90216c68386c3 (patch)
tree06f55c6e3738c9f44267d6ee18ec31b91fcff2e5
parent77e36b7ba7db7e96ef27e8d35f729382327ba699 (diff)
Add Missing fontVariationSetting attr Javadoc
Bug: 79477441 Test: m offline-sdk-docs Change-Id: I6d40f6f176674e0b08434e997c4c4a0b66fe6f78
-rw-r--r--core/java/android/widget/TextView.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/java/android/widget/TextView.java b/core/java/android/widget/TextView.java
index 1b412a7e1e43..c5d274a02579 100644
--- a/core/java/android/widget/TextView.java
+++ b/core/java/android/widget/TextView.java
@@ -312,6 +312,7 @@ import java.util.function.Supplier;
* @attr ref android.R.styleable#TextView_fallbackLineSpacing
* @attr ref android.R.styleable#TextView_letterSpacing
* @attr ref android.R.styleable#TextView_fontFeatureSettings
+ * @attr ref android.R.styleable#TextView_fontVariationSettings
* @attr ref android.R.styleable#TextView_breakStrategy
* @attr ref android.R.styleable#TextView_hyphenationFrequency
* @attr ref android.R.styleable#TextView_autoSizeTextType
@@ -4381,6 +4382,8 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener
*
* @see #getFontVariationSettings()
* @see FontVariationAxis
+ *
+ * @attr ref android.R.styleable#TextView_fontVariationSettings
*/
public boolean setFontVariationSettings(@Nullable String fontVariationSettings) {
final String existingSettings = mTextPaint.getFontVariationSettings();