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

Commit 7f9b0909 authored by Siyamed Sinir's avatar Siyamed Sinir
Browse files

Update TextView ApiDoc for lineSpacing attributes

lineSpacing attributes are not applied for last lines of a text. Update
ApiDocs accordingly.

Test: none
Bug: 30508784
Change-Id: I83593d0b57f717deb90ac8d589673b61358bc914
parent 417510bd
Loading
Loading
Loading
Loading
+3 −2
Original line number Original line Diff line number Diff line
@@ -4848,8 +4848,9 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener
    }
    }


    /**
    /**
     * Sets line spacing for this TextView.  Each line will have its height
     * Sets line spacing for this TextView.  Each line other than the last line will have its height
     * multiplied by <code>mult</code> and have <code>add</code> added to it.
     * multiplied by {@code mult} and have {@code add} added to it.
     *
     *
     *
     * @attr ref android.R.styleable#TextView_lineSpacingExtra
     * @attr ref android.R.styleable#TextView_lineSpacingExtra
     * @attr ref android.R.styleable#TextView_lineSpacingMultiplier
     * @attr ref android.R.styleable#TextView_lineSpacingMultiplier
+4 −2
Original line number Original line Diff line number Diff line
@@ -4677,9 +4677,11 @@
                 result to valid color values. Saturate(S + D) -->
                 result to valid color values. Saturate(S + D) -->
            <enum name="add" value="16" />
            <enum name="add" value="16" />
        </attr>
        </attr>
        <!-- Extra spacing between lines of text. -->
        <!-- Extra spacing between lines of text. The value will not be applied for the last
             line of text. -->
        <attr name="lineSpacingExtra" format="dimension" />
        <attr name="lineSpacingExtra" format="dimension" />
        <!-- Extra spacing between lines of text, as a multiplier. -->
        <!-- Extra spacing between lines of text, as a multiplier. The value will not be applied
             for the last line of text.-->
        <attr name="lineSpacingMultiplier" format="float" />
        <attr name="lineSpacingMultiplier" format="float" />
        <!-- The number of times to repeat the marquee animation. Only applied if the
        <!-- The number of times to repeat the marquee animation. Only applied if the
             TextView has marquee enabled. -->
             TextView has marquee enabled. -->