diff options
| author | TreeHugger Robot <treehugger-gerrit@google.com> | 2017-12-20 17:39:21 +0000 |
|---|---|---|
| committer | Android (Google) Code Review <android-gerrit@google.com> | 2017-12-20 17:39:21 +0000 |
| commit | 347b7189f2de482b0839ea48676bfc634a2fdc9b (patch) | |
| tree | 917b76dc1bebc4dbe9892839b0b314f6e76b4060 /core/java/android/widget/TextView.java | |
| parent | 702b491903b90c063313bfbfd234559586303f9a (diff) | |
| parent | e536e574fe9dd7dbeeb40b08f4965e712ce2721a (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.java | 4 |
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 |
