Underline

Draws a horizontal line underneath a text element.

Introduced in Wear OS 4.

Syntax

<Underline>
    <!-- Use inner elements to apply multiple text decorations.
         Here, "Upper" is used as an example. -->
    <Lower ... />
    <Upper>
        Raw text
    </Upper>
</Underline>

Inner elements

The Underline element can contain the following inner elements: