Specifies a plain-text configuration.

Introduced in Wear OS 4.


<Text align="START | CENTER | END" ellipsis="boolean"
    <!-- Possible inner elements. The PartText element syntax shows a
         more complete example. -->
    <Font ... />
    <BitmapFont ... />


The Text element has the following optional attributes:


Determines the text's alignment within its parent element:

  • START: left- or top-aligned (right-aligned when the current language uses an RTL text direction)
  • CENTER: center-aligned
  • END: right- or bottom-aligned (left-aligned when the current language uses an RTL text direction)

The default value is CENTER.


A boolean value that indicates whether to show an ellipsis if the text is too long to fit in the parent element. The default is FALSE.


A non-zero integer that indicates the maximum number of lines that the parent element can use to display the text. If this value is less than 0, the watch face arranges the text in the optimal number of lines for taking up the parent element's height.

Inner elements

The Text element can contain any number of the following inner elements: