नियम और शर्तों के डायलॉग बॉक्स को पसंद के मुताबिक बनाएं
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
TermsAndConditionsUIParams ऑब्जेक्ट का इस्तेमाल करके, 'नियम और शर्तें' डायलॉग बॉक्स के लुक और फ़ील को अपनी पसंद के मुताबिक बनाया जा सकता है. इसके लिए, बैकग्राउंड का रंग, फ़ॉन्ट, और टेक्स्ट का रंग बदलें.
उदाहरण
यहां दिए गए कोड के उदाहरण में, नियम और शर्तों वाले डायलॉग बॉक्स के लुक और फ़ील को पसंद के मुताबिक बनाने का तरीका बताया गया है.
[[["समझने में आसान है","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-09-04 (UTC) को अपडेट किया गया."],[[["\u003cp\u003eThe \u003ccode\u003eTermsAndConditionsUIParams\u003c/code\u003e object allows customization of the Terms and Conditions dialog's appearance, including background color, fonts, and text colors.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can modify elements like title, main text, and button styles using the provided builder methods and parameters within the \u003ccode\u003eTermsAndConditionsUIParams\u003c/code\u003e object.\u003c/p\u003e\n"],["\u003cp\u003eThe example code showcases how to create and apply a customized \u003ccode\u003eTermsAndConditionsUIParams\u003c/code\u003e object to the Terms and Conditions dialog using the \u003ccode\u003eNavigationApi.showTermsAndConditionsDialog\u003c/code\u003e method.\u003c/p\u003e\n"]]],[],null,["# Customize the Terms and Conditions dialog box\n\nYou can use the `TermsAndConditionsUIParams` object to customize the look and\nfeel of the Terms and Conditions dialog box by changing the background color,\nthe fonts, and the text colors.\n\nExample\n-------\n\nThe following code example demonstrates how to customize the look and feel of\nthe Terms and Conditions dialog box. \n\n TermsAndConditionsUIParams uiParams = TermsAndConditionsUIParams.builder()\n .setBackgroundColor(Color.WHITE)\n .setTitleColor(Color.BLACK)\n .setTitleTypeface(Typeface.DEFAULT)\n .setTitleTextSize(20)\n .setMainTextColor(Color.BLACK)\n .setMainTextTypeface(Typeface.DEFAULT)\n .setMainTextTextSize(20)\n .setButtonsTypeface(Typeface.DEFAULT)\n .setButtonsTextSize(20)\n .setAcceptButtonTextColor(Color.BLACK)\n .setCancelButtonTextColor(Color.BLACK)\n .build();\n\n NavigationApi.showTermsAndConditionsDialog(\n getActivity(),\n \"Your Company Name\",\n \"Your title\",\n uiParams,\n null,\n TermsAndConditionsCheckOption.ENABLED);"]]