समय का टेक्स्ट
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
TimeText
एक ऐसा लेआउट है जो स्क्रीन पर सबसे ऊपर मौजूदा समय दिखाता है.

टाइम टेक्स्ट
समय दिखाने के लिए, समय टेक्स्ट का इस्तेमाल करें. साथ ही, स्क्रीन के सबसे ऊपर वैकल्पिक लेबल भी दिखाएं. जब डिवाइस पर स्क्रीन टाइम का टेक्स्ट गोल हो, तो वह टेक्स्ट भी गोल हो जाता है.
अगर डिवाइस की स्क्रीन रेक्टैंगल है, तो समय का टेक्स्ट सीधा होता है.
समय के टेक्स्ट में, लीडिंग कॉन्टेंट का एक और लेबल जोड़ा जा सकता है. मुख्य कॉन्टेंट जोड़ते समय, ऐर्क की पूरी लंबाई स्मार्टवॉच की चौथाई से ज़्यादा नहीं होनी चाहिए.
शरीर-रचना विज्ञान
सूचियों जैसे स्क्रोल किए जा सकने वाले एलिमेंट के साथ
TimeText
बनाते समय, एलिमेंट स्क्रोल होने पर
TimeText
को फीके होने के लिए डिज़ाइन करें. स्क्रोल की स्थिति के आधार पर,
TimeText
को वर्टिकल तौर पर स्क्रोल करने के लिए,
Modifier.scrollAway
का इस्तेमाल करें.
A. लीडिंग कॉन्टेंट
B. सेपरेटर
C. समय
इस्तेमाल
Maps ऐप्लिकेशन में, पहुंचने का अनुमानित समय दिखाने के लिए, समय के टेक्स्ट के साथ लीडिंग कॉन्टेंट का इस्तेमाल करें. इसका उदाहरण यहां दिया गया है.

इस पेज पर मौजूद कॉन्टेंट और कोड सैंपल कॉन्टेंट के लाइसेंस में बताए गए लाइसेंस के हिसाब से हैं. Java और OpenJDK, Oracle और/या इससे जुड़ी हुई कंपनियों के ट्रेडमार्क या रजिस्टर किए हुए ट्रेडमार्क हैं.
आखिरी बार 2025-07-27 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-07-27 (UTC) को अपडेट किया गया."],[],[],null,["# Time text\n\n[`TimeText`](/reference/kotlin/androidx/wear/compose/material/package-summary#TimeText(androidx.compose.ui.Modifier,androidx.wear.compose.material.TimeSource,androidx.compose.ui.text.TextStyle,androidx.compose.foundation.layout.PaddingValues,kotlin.Function0,kotlin.Function1,kotlin.Function0,kotlin.Function1,kotlin.Function0,kotlin.Function1))\nis a layout that shows the current time at the top of the screen.\n\n**Time Text**\n\nUse time text to display the time as well as an optional label on the top\nof the screen. When the device has a round screen time text is curved.\nWhen the device has a rectangular screen, time text is straight.\n\nYou can add an additional leading content label to the time text. When\nadding leading content, the full length of the arc should not be larger\nthan a quarter of the watch face.\n\nAnatomy\n-------\n\nWhen creating `TimeText` with scrollable elements such as lists, design the `TimeText` to fade away when the element scrolls. Use [Modifier.scrollAway](/reference/kotlin/androidx/wear/compose/material/package-summary#(androidx.compose.ui.Modifier).scrollAway(androidx.compose.foundation.ScrollState,androidx.compose.ui.unit.Dp)) to scroll `TimeText` vertically in and out of view, based on the scroll state.\n\n\n**A. Leading content\nB. Separator\nC. Time**\n\nUsage\n-----\n\nTo show the estimated time of arrival in a maps app, use time text with leading\ncontent as shown in the following example."]]