संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
टाइल से, लोगों को उनकी ज़रूरत की जानकारी और कार्रवाइयों का तुरंत ऐक्सेस मिलता है. स्मार्टवॉच की होम स्क्रीन पर स्वाइप करने से टाइल कैरसेल दिखता है. साथ ही, एक से दूसरी टाइल पर जाने के लिए, फिर से स्वाइप करें. टाइल को स्क्रॉल नहीं किया जा सकता.
उपयोगकर्ता यह चुन सकते हैं कि उन्हें कौनसी टाइल देखनी हैं. इन टाइल की मदद से, मौसम की जानकारी देखी जा सकती है, टाइमर सेट किया जा सकता है, रोज़ की फ़िटनेस परफ़ॉर्मेंस को ट्रैक किया जा सकता है, तुरंत कसरत शुरू की जा सकती है, कोई गाना चलाया जा सकता है, आने वाली मीटिंग को स्कैन किया जा सकता है, और पसंदीदा संपर्क को मैसेज भेजा जा सकता है.
पहली इमेज.: टाइल की मदद से, उपयोगकर्ताओं को जानकारी और कार्रवाइयों का ऐक्सेस मिलता है.
Compose (या Views) का इस्तेमाल करने के बजाय, टाइल को एलान के तौर पर तय किया जाता है. इसके लिए, Jetpack की protolayout और tiles लाइब्रेरी का इस्तेमाल किया जाता है. टाइल, अलग और रिमोट एनवायरमेंट में रेंडर की जाती हैं. इसलिए, उनमें डेटा को लोड करने, दिखाने, और अपडेट करने के लिए अलग-अलग तरीकों की ज़रूरत होती है. इनका इस्तेमाल करना आसान होने की वजह से, इन्हें बनाना, टेस्ट करना, और डिप्लॉय करना आसान हो जाता है.
मुख्य सिद्धांत
Wear OS पर टाइल की सुविधा उपलब्ध है. इसकी मदद से, उपयोगकर्ताओं को थोड़ी-बहुत मुख्य जानकारी दिखाई जा सकती है. उपयोगकर्ता कुछ सेकंड के लिए टाइल पर नज़र डालकर, इस जानकारी को पढ़ सकते हैं. उपयोगकर्ताओं को अच्छी क्वालिटी का अनुभव देने के लिए, ये सबसे सही तरीके अपनाएं:
टाइल में बहुत ज़्यादा कॉन्टेंट न डालें. इसके बजाय, उपयोगकर्ताओं को टाइल पर टैप करने की अनुमति दें, ताकि वे ज़्यादा जानें और आपके ऐप्लिकेशन के किसी दूसरे प्लैटफ़ॉर्म पर कार्रवाई कर सकें. कम से कम एक कंटेनर शामिल करें देखें.
टाइल के लेआउट और कॉन्टेंट के बारे में जानकारी दें. फ़ाइनल रेंडरिंग के लिए सिस्टम ज़िम्मेदार होता है.
टाइल सेवा में कॉन्टेंट को बार-बार फ़ेच न करें या लंबे समय तक चलने वाला असाइनमेंट शुरू न करें. नेटवर्क कॉल जैसे ऐसे काम करने के लिए जिनमें कुछ समय लग सकता है, बैकग्राउंड टास्क शेड्यूल करने के लिए WorkManager का इस्तेमाल करें. साथ ही, नतीजों को लोकल स्टोरेज में कैश मेमोरी में सेव करें या स्टोर करें.
आपके लिए सुझाव
ध्यान दें: JavaScript बंद होने पर लिंक टेक्स्ट दिखता है
इस पेज पर मौजूद कॉन्टेंट और कोड सैंपल कॉन्टेंट के लाइसेंस में बताए गए लाइसेंस के हिसाब से हैं. Java और OpenJDK, Oracle और/या इससे जुड़ी हुई कंपनियों के ट्रेडमार्क या रजिस्टर किए हुए ट्रेडमार्क हैं.
आखिरी बार 2025-07-27 (UTC) को अपडेट किया गया.
[[["समझने में आसान है","easyToUnderstand","thumb-up"],["मेरी समस्या हल हो गई","solvedMyProblem","thumb-up"],["अन्य","otherUp","thumb-up"]],[["वह जानकारी मौजूद नहीं है जो मुझे चाहिए","missingTheInformationINeed","thumb-down"],["बहुत मुश्किल है / बहुत सारे चरण हैं","tooComplicatedTooManySteps","thumb-down"],["पुराना","outOfDate","thumb-down"],["अनुवाद से जुड़ी समस्या","translationIssue","thumb-down"],["सैंपल / कोड से जुड़ी समस्या","samplesCodeIssue","thumb-down"],["अन्य","otherDown","thumb-down"]],["आखिरी बार 2025-07-27 (UTC) को अपडेट किया गया."],[],[],null,["# Tiles provide quick access to the information and actions users need to get\nthings done. The tiles carousel is revealed by a swipe on the watch face, and\nadditional swipes will switch between tiles. Tiles themselves cannot be\nscrolled.\n\nUsers can choose what tiles they want to see. There are tiles to check the\nweather, set a timer, track daily fitness progress, quick-start a workout, play\na song, scan an upcoming meeting, and send a message to a favorite contact.\n**Figure 1.**: Tiles give users access to information and actions.\n\nInstead of using [Compose](/compose) (or [Views](/develop/ui/views/layout/declaring-layout)), Tiles are defined declaratively\nusing Jetpack's [protolayout](/jetpack/androidx/releases/wear-protolayout) and [tiles](/jetpack/androidx/releases/wear-tiles) libraries. Because Tiles are\nrendered in a separate, remote environment, they require different approaches to\nload, display, and update data within them. Their simplicity makes them\nstraightforward to build, test, and deploy.\n\nCore principles\n---------------\n\nWear OS provides tiles as a way for you to show a small amount of key\ninformation, which users can read through after they glance at a tile for a few\nseconds. To provide this high-quality experience for users, follow these best\npractices:\n\n- Don't overcrowd tiles with too much content. Instead, allow users to tap on tiles to learn more and take action on another surface in your app. See [Include (at least) one container](/design/ui/wear/guides/surfaces/tiles/bestpractices#include_at_least_one_container).\n- Declaratively define your tile's layout and content. The system is responsible for the final rendering.\n- Don't fetch content frequently or start long-running asynchronous work in your tile service. To perform work which may take some time to complete---such as network calls---use [WorkManager](/topic/libraries/architecture/workmanager/how-to/define-work#expedited) to schedule background tasks, and cache or store the results in local storage.\n\nRecommended for you\n-------------------\n\n- Note: link text is displayed when JavaScript is off\n- [Show dynamic updates in tiles](/training/wearables/tiles/dynamic)\n- [Migrate to ProtoLayout namespaces](/training/wearables/tiles/migrate-to-protolayout)"]]