Time text
Stay organized with collections
Save and categorize content based on your preferences.
TimeText
is a layout that shows the current time at the top of the screen.
![](https://developer.android.com/static/wear/images/components/timetext-hero.png?authuser=8)
Time Text
Use time text to display the time as well as an optional label on the top
of the screen. When the device has a round screen time text is curved.
When the device has a rectangular screen, time text is straight.
You can add an additional leading content label to the time text. When
adding leading content, the full length of the arc should not be larger
than a quarter of the watch face.
Anatomy
When creating
TimeText
with scrollable elements such as
lists, design the
TimeText
to fade away when the element
scrolls. Use
Modifier.scrollAway
to scroll
TimeText
vertically in and out of view, based on the scroll state.
A. Leading content
B. Separator
C. Time
Usage
To show the estimated time of arrival in a maps app, use time text with leading
content as shown in the following example.
![](https://developer.android.com/static/wear/images/components/timetext-usage.png?authuser=8)
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2023-05-08 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
{
"last_modified": "Last updated 2023-05-08 UTC.",
"state": ""
}