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

Commit e493a145 authored by Andrew Solovay's avatar Andrew Solovay
Browse files

docs: Clarified description of height and width attrs

The existing description had said the attributes specified the exact
height/width *in pixels*, but (as clicking through on the links
showed) the height/width could be specified in a number of units,
including inches and millimeters.

Rephrased to be more accurately vague ("specifies the exact height/
width"), and if people click the link they get the details.

See first comment for doc stage location.

Bug: 63614266
Test: make ds-docs
Change-Id: I9a2873683d19bcfbb9f2c4a603438d858539b650
parent c470a720
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -4518,7 +4518,7 @@
        <attr name="maxHeight" />
        <!-- Makes the TextView be exactly this many lines tall. -->
        <attr name="lines" format="integer" min="0" />
        <!-- Makes the TextView be exactly this many pixels tall.
        <!-- Makes the TextView be exactly this tall.
             You could get the same effect by specifying this number in the
             layout parameters. -->
        <attr name="height" format="dimension" />
@@ -4535,7 +4535,7 @@
        <attr name="maxWidth" />
        <!-- Makes the TextView be exactly this many ems wide. -->
        <attr name="ems" format="integer" min="0" />
        <!-- Makes the TextView be exactly this many pixels wide.
        <!-- Makes the TextView be exactly this wide.
             You could get the same effect by specifying this number in the
             layout parameters. -->
        <attr name="width" format="dimension" />