वैश्विक विन्यास योग्य मान

डायलर को अनुकूलित करने के लिए इस आलेख में दिए गए संसाधनों का उपयोग करें। विभिन्न विचार वैश्विक मूल्यों से पुनर्निर्देशित संसाधनों का उपयोग करेंगे। अधिक जानकारी के लिए, AOSP UX डिज़ाइन देखें (साइन-इन की आवश्यकता हो सकती है)।

डायलपैड इनपुट गति

<!-- 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>

फुलस्क्रीन इनकॉल यूआई

फुलस्क्रीन इनकॉल यूआई के लिए कॉन्फिग गेट। जब सही पर सेट किया जाता है, तो इनकमिंग कॉल का उत्तर देने पर डायलर उपयोगकर्ता की परवाह किए बिना फुलस्क्रीन इनकॉल यूआई प्रदर्शित होता है। जब गलत पर सेट किया जाता है, तो इनकमिंग कॉल का उत्तर देने पर उपयोगकर्ता डायलर में नहीं होने पर फुलस्क्रीन इनकॉल यूआई प्रदर्शित किए बिना एचयूएन को खारिज कर देता है।

<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>

जब उपयोगकर्ता डायलपैड से डायल करता है तो लाइव खोज परिणाम

<!-- 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>