summaryrefslogtreecommitdiff
path: root/core/java/android/widget/TextView.java
diff options
context:
space:
mode:
authorTreeHugger Robot <treehugger-gerrit@google.com>2017-12-20 17:39:21 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2017-12-20 17:39:21 +0000
commit347b7189f2de482b0839ea48676bfc634a2fdc9b (patch)
tree917b76dc1bebc4dbe9892839b0b314f6e76b4060 /core/java/android/widget/TextView.java
parent702b491903b90c063313bfbfd234559586303f9a (diff)
parente536e574fe9dd7dbeeb40b08f4965e712ce2721a (diff)
Merge "Update setLineSpacing docs to mention units"
Diffstat (limited to 'core/java/android/widget/TextView.java')
-rw-r--r--core/java/android/widget/TextView.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/java/android/widget/TextView.java b/core/java/android/widget/TextView.java
index 9ac443b43701..1e17f34af2a6 100644
--- a/core/java/android/widget/TextView.java
+++ b/core/java/android/widget/TextView.java
@@ -4867,6 +4867,10 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener
* Sets line spacing for this TextView. Each line other than the last line will have its height
* multiplied by {@code mult} and have {@code add} added to it.
*
+ * @param add The value in pixels that should be added to each line other than the last line.
+ * This will be applied after the multiplier
+ * @param mult The value by which each line height other than the last line will be multiplied
+ * by
*
* @attr ref android.R.styleable#TextView_lineSpacingExtra
* @attr ref android.R.styleable#TextView_lineSpacingMultiplier