डायलर को पसंद के मुताबिक बनाने के लिए, इस लेख में दिए गए संसाधनों का इस्तेमाल करें. अलग-अलग व्यू, ग्लोबल वैल्यू से रीडायरेक्ट किए गए संसाधनों का इस्तेमाल करेंगे. ज़्यादा जानकारी के लिए, AOSP यूज़र इंटरफ़ेस (यूएक्स) डिज़ाइन देखें. इसके लिए, आपको साइन इन करना पड़ सकता है.
डायलपैड इनपुट मोशन
<!-- Boolean config to gate the dialpad input motion --> <bool name="config_enable_dial_motion">true</bool> <!-- Font scale for the last input digit --> <item name="config_dial_motion_scale_start" format="float" type="integer">1.5</item> <!-- Scale down motion duration for the last input digit --> <integer name="config_dial_motion_duration">200</integer>
डायलपैड में इनपुट किए गए अंकों की ग्रेविटी
<!-- 8388629 stands for Gravity.END | Gravity.CENTER_VERTICAL--> <integer name="config_dialed_number_gravity">8388629</integer>
उपयोगकर्ता की ज़्यादा जानकारी वाली प्रोफ़ाइल
इनपुट नंबर से मैच होने वाला कोई संपर्क मिलने पर, उपयोगकर्ता की पूरी प्रोफ़ाइल दिखाने के लिए कॉन्फ़िगर करें. अगर यह 'गलत है' पर सेट है, तो संपर्क का नाम सिर्फ़ दिखाएं. अगर यह सही है, तो संपर्क का अवतार, नाम, और फ़ोन नंबर का लेबल दिखाएं.
<bool name="config_show_detailed_user_profile_on_dialpad">false</bool>
बैकग्राउंड इमेज का ऐल्फ़ा वर्शन
0 पर सेट होने पर, बैकग्राउंड इमेज नहीं दिखती.
<!-- Alpha when there is a contact avatar --> <item name="config_background_image_alpha" format="float" type="dimen">1.0</item> <!-- Alpha when there are no contact avatars and uses the letter tile drawable color as background. --> <item name="config_background_image_error_alpha" format="float" type="dimen">1.0</item>
हाल ही के और संपर्कों के पेजों पर मौजूद ऐक्शन बटन
<!-- A config determines whether to show divider and callog_action_button for callog items that are not stored as contacts. "true" will show divider and button as disable state and "false" will make divider and button invisible for non contacts. --> <bool name="config_show_calllog_action_button_for_non_contact">false</bool> <!-- A config determines whether to show divider and the button on the right side for contacts without any contact details. "true" will show divider and button as disable state and "false" will make divider and button invisible for empty contacts. --> <bool name="config_show_contact_detail_button_for_empty_contact">false</bool>
संपर्क जानकारी वाले पेज पर गेट का पता और नेविगेशन की सुविधा
संपर्क जानकारी वाले पेज पर, पते और नेविगेशन की सुविधा को गेट करने के लिए, इस बूलियन कॉन्फ़िगरेशन का इस्तेमाल करें.
<!-- A config determines whether to show postal address in contact details page. --> <bool name="config_show_postal_address">false</bool>
संपर्क जानकारी वाले पेज पर टूलबार
<!-- A config determines whether to show the action bar view in the contact details page.--> <bool name="config_show_contact_details_action_bar_view">false</bool> <!-- A config determines if to show the action bar avatar in the contact details page.--> <bool name="config_show_contact_details_action_bar_avatar">true</bool>
टूलबार का टाइटल मोड
टूलबार के टाइटल मोड के लिए कॉन्फ़िगरेशन:
- 0 से ऐप्लिकेशन का नाम पता चलता है.
- 1 का मतलब है कि टूलबार का कोई टाइटल नहीं है.
- 2 से कनेक्ट किए गए ब्लूटूथ डिवाइस का नाम पता चलता है.
<!-- Use app name as toolbar title. Supported value see @attr/toolbarTitleMode --> <integer name="config_toolbar_title_mode">0</integer>
कॉल के दौरान फ़ुलस्क्रीन में दिखने वाला यूज़र इंटरफ़ेस (यूआई)
फ़ुलस्क्रीन इनकॉल यूज़र इंटरफ़ेस (यूआई) के लिए कॉन्फ़िगर गेट. 'सही है' पर सेट होने पर, इनकमिंग कॉल का जवाब देने पर, फ़ुलस्क्रीन में कॉल के दौरान दिखने वाला यूज़र इंटरफ़ेस (यूआई) दिखता है. भले ही, डायलर का इस्तेमाल करने वाला कोई भी व्यक्ति हो. अगर इस विकल्प को 'गलत' पर सेट किया जाता है, तो आने वाले कॉल का जवाब देने पर, HUN बंद हो जाता है. ऐसा तब होता है, जब उपयोगकर्ता डायलर में न हो और फ़ुलस्क्रीन इनकॉल यूज़र इंटरफ़ेस (यूआई) न दिख रहा हो.
<bool name="config_show_fullscreen_incall_ui">true</bool>
अवतार का कोना
इस वैल्यू को बदलने से, अवतार के सभी आकार पर असर पड़ता है. इनमें सूचनाओं में दिखने वाला अवतार भी शामिल है:
- 0.5 का मतलब है कि अवतार गोल है.
- 1 का मतलब स्क्वेयर अवतार है.
<dimen name="contact_avatar_corner_radius_percent" format="float">0.5</dimen>
सूची के आइटम के लिए इस्तेमाल किया जाने वाला अवतार का साइज़
इन पेजों पर, सूची के आइटम के लिए अवतार का साइज़ सेट करने के लिए, इस कॉन्फ़िगरेशन का इस्तेमाल करें:
- कॉल इतिहास वाला पेज
- संपर्क पेज
- खोज पेज
- डायलपैड पेज पर प्रोफ़ाइल का अवतार
<dimen name="avatar_icon_size">76dp</dimen>
Dialpad का इस्तेमाल करके डायल करने पर, लाइव खोज नतीजा
<!-- A config determines whether to show type down list on Dialpad --> <bool name="config_show_type_down_list_on_dialpad">true</bool>
कंट्रोल बार की ऊंचाई
चल रहे कॉल के कंट्रोल बार की ऊंचाई, इनकमिंग कॉल के कंट्रोल बार की ऊंचाई, और कॉल बटन की ऊंचाई सेट करें.
<dimen name="control_bar_height">96dp</dimen>
सूची के आइटम के डाइमेंशन
<dimen name="list_item_height">116dp</dimen>