Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e536e574 authored by Clara Bayarri's avatar Clara Bayarri
Browse files

Update setLineSpacing docs to mention units

Bug: 64896499
Test: none, docs update
Change-Id: I1b94005643764f6484dca2b02845adde7135a37e
parent 04c17bec
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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