हमारा सुझाव है कि 27 मार्च, 2025 से AOSP को बनाने और उसमें योगदान देने के लिए, aosp-main
के बजाय android-latest-release
का इस्तेमाल करें. ज़्यादा जानकारी के लिए, AOSP में हुए बदलाव लेख पढ़ें.
कस्टमाइज़ेशन के दिशा-निर्देश
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
AOSP में शामिल डायलर की सुविधा, एक बुनियादी थीम और स्ट्रक्चर उपलब्ध कराती है. इसे अपनी ज़रूरत के हिसाब से इस्तेमाल किया जा सकता है या उसमें बदलाव किया जा सकता है.
नीचे दी गई टेबल में, “SHOULD” और “MAY” के ब्यौरे, ज़रूरी शर्तों के लेवल को दिखाने के लिए, आरएफ़सी में इस्तेमाल किए जाने वाले मुख्य शब्दों (आरएफ़सी 2119) में बताए गए आईईटीएफ़ स्टैंडर्ड के मुताबिक हैं. यही स्टैंडर्ड, Android 10 के साथ काम करने की परिभाषा में भी इस्तेमाल किया गया है.
कस्टमाइज़ेशन के दिशा-निर्देश
नीचे दी गई पाबंदियों के मुताबिक, बुनियादी थीम और स्ट्रक्चर में बदलाव किया जा सकता है या उन्हें अडैप्ट किया जा सकता है.
नीचे दी गई टेबल में, पसंद के मुताबिक बनाने के लिए OEM की ज़िम्मेदारियों के बारे में बताया गया है.
पसंद के मुताबिक बनाएं |
ब्यौरा |
इसका इस्तेमाल करना चाहिए |
ऐसे व्यवहार या इंटरफ़ेस जिन्हें पसंद के मुताबिक बनाया जा सकता है:
- संसाधन ओवरले की मदद से, थीम और स्टाइल में बदलाव करना
- कलर पैलेट
- साइज़ बदलना
- टेक्स्ट का रंग
- विजेट का दिखना
- डायलॉग बॉक्स का दिखना
- ड्रॉ किए जा सकने वाले आइटम
- कॉन्फ़िगरेशन की मदद से, किसी सुविधा को चालू या बंद करना या संसाधनों की मदद से कॉन्फ़िगर किए गए पैरामीटर में बदलाव करना
|
MAY |
Google, बेहतर उपयोगकर्ता अनुभव के लिए इन व्यवहारों या इंटरफ़ेस का सुझाव देता है, लेकिन इन्हें लागू नहीं करता.
- अडैप्टिव-रिस्पॉन्सिव नियमों में बदलाव करना.
- Dialer के हाई-लेवल यूज़र इंटरफ़ेस (यूआई) स्ट्रक्चर में बदलाव करना. लेआउट यूज़र इंटरफ़ेस कॉम्पोनेंट को, उपयोगकर्ता अनुभव से जुड़ी पाबंदियों का पालन करना चाहिए.
|
Dialer, सिस्टम ऐप्लिकेशन के सुइट में शामिल है. इसमें Media, Notification Center, और ऐप्लिकेशन लॉन्चर जैसे ऐप्लिकेशन शामिल हैं. ये सभी ऐप्लिकेशन एक जैसे स्टाइल और ऐसेट शेयर करते हैं. इन ऐसेट को AOSP स्ट्रक्चर में अलग-अलग लेवल पर तय किया जाता है:
-
framework/base/core
Android की सभी बेस स्टाइल यहां बताई गई हैं. खास तौर पर, सिस्टम ऐप्लिकेशन की सभी थीम, Theme.DeviceDefault
पर आधारित होती हैं. इस थीम को OEMs के इस्तेमाल के लिए डिज़ाइन किया गया है, ताकि वे डिवाइस के डिफ़ॉल्ट डिज़ाइन को पसंद के मुताबिक बना सकें.
-
packages/services/Car/car_product/overlay
इस फ़ोल्डर में Theme.DeviceDefault
के लिए बदलाव किए गए हैं. इनका इस्तेमाल, Android Automotive के AOSP लुक और स्टाइल को बनाने के लिए किया जाता है. OEM, इस ओवरले को हटाने का विकल्प चुन सकते हैं और इसके बजाय, अपने ओवरले का इस्तेमाल कर सकते हैं.
-
packages/apps/Car/libs/car-apps-common
AOSP के सिस्टम ऐप्लिकेशन के बीच शेयर किए जाने वाले सामान्य रंग और स्टाइल. OEM, इन एलिमेंट को अपनी पसंद के मुताबिक बना सकते हैं. इसके लिए, उन्हें path/to/overlay/packages/apps/Car/libs/car-apps-common
में जाकर ओवरले का इस्तेमाल करना होगा.
-
packages/apps/Car/Dialer
Dialer अपनी थीम का इस्तेमाल करता है, जो Theme.DeviceDefault
(framework/base
में तय की गई) से शुरू होती है. ओवरले का इस्तेमाल करके, Dialer के लेआउट, रंग, स्टाइल, और अन्य रिसॉर्स को भी पसंद के मुताबिक बनाया जा सकता है. ऊपर बताए गए libs
की तरह ही, संसाधन बदलने की सुविधा को path/to/overlay/packages/apps/Car/Dialer
में देखा जा सकता है.
ज़्यादा दस्तावेज़
AOSP थीम और ओवरले के बारे में ज़्यादा जानकारी के लिए,
संसाधन ओवरले की मदद से, बिल्ड को पसंद के मुताबिक बनाना लेख पढ़ें.
इस पेज पर मौजूद कॉन्टेंट और कोड सैंपल कॉन्टेंट के लाइसेंस में बताए गए लाइसेंस के हिसाब से हैं. 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,["# Customization guidelines\n\nThe Dialer implementation included in AOSP provides a base theme and structure you can adopt as\nis or modify.\n\nIn the table below, the descriptions of \"SHOULD\" and \"MAY\" are per the IETF standard defined\nin [Key words for use in RFCs to\nIndicate Requirement Levels (RFC 2119)](http://www.ietf.org/rfc/rfc2119.txt), the same standard used in the\n[Android 10 Compatibility Definition](/docs/compatibility/10/android-10-cdd).\n\nCustomization guidelines\n------------------------\n\nYou can adapt or modify the base theme and structure as per the restrictions mentioned below.\nThe following table describes\nthe OEM responsibilities regarding customization.\n\n| Customization | Description |\n|---------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| **SHOULD** | Behaviors or interfaces that may be customized: - Adjust overall theming and styling through a resource overlay - Color pallette - Sizing - Text appearance - Widget appearance - Dialog appearance - Drawables - Enable or disable a feature gated by a config or change parameters configured by resources |\n| **MAY** | Behaviors or interfaces Google recommends for an optimal user experience, but does not enforce. - Modify adaptive-responsive rules. - Modify the high-level UI structure of Dialer. The Layout UI component must follow the User Experience Restrictions. |\n\nDialer belongs to a suite of system apps (including Media, Notification Center, and\nApp Launcher), all of which share common styles and assets that are defined at different levels in\nthe AOSP structure:\n\n- `framework/base/core` \n\n All Android base styles are defined here. Specifically, all system app themes are\n based on `Theme.DeviceDefault`, the theme designed for use by OEMs to customize\n device default appearance.\n\n- `packages/services/Car/car_product/overlay` \n\n This folder contains overrides to `Theme.DeviceDefault` which are used to produce\n the AOSP look and feel of Android Automotive. OEMs might opt for excluding this overlay and\n use their own\n instead.\n\n- `packages/apps/Car/libs/car-apps-common` \n\n Common colors and styles shared among AOSP provided system apps. These elements can\n be customized by OEMs using overlays under\n `path/to/overlay/packages/apps/Car/libs/car-apps-common`.\n\n- `packages/apps/Car/Dialer` \n\n Dialer uses its own theme, which extends from `Theme.DeviceDefault` (defined in\n `framework/base`). The layouts, colors, styles, and other resources of Dialer can\n also be customized through the use of an Overlay. Similar to `libs` mentioned\n above, the resource override can be located in\n `path/to/overlay/packages/apps/Car/Dialer`.\n\nMore documentation\n------------------\n\nFor more information about AOSP theming and overlays, see\n[Customize the build with resource\noverlays](/docs/setup/create/new-device#use-resource-overlays)."]]