תוכלו להיעזר במקורות המידע שמפורטים במאמר הזה כדי להתאים אישית את Dialer. תצוגות שונות ישתמשו במשאבים שמועברים מהערכים הגלובליים. מידע נוסף זמין במאמר בנושא עיצוב ממשק המשתמש של 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>
פרופיל משתמש מפורט
הגדרה להצגת פרופיל משתמש מפורט כאשר נמצא איש קשר תואם למספר שהוזן. כשהערך הוא false, מוצג שם איש הקשר בלבד. אם הערך הוא True, מוצגים תמונת הפרופיל של איש הקשר, שם איש הקשר ותווית מספר הטלפון.
<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 מציין את שם מכשיר ה-Bluetooth המחובר.
<!-- Use app name as toolbar title. Supported value see @attr/toolbarTitleMode --> <integer name="config_toolbar_title_mode">0</integer>
ממשק המשתמש במהלך שיחה במסך מלא
שער להגדרת ממשק המשתמש במסך מלא בשיחות. כשהערך מוגדר כ-True, כשעונים לשיחה נכנסת מוצג ממשק המשתמש של השיחה במסך מלא, ללא קשר למשתמש ב-Dialer. כשהערך מוגדר כ-false, מענה לשיחה נכנסת גורם לסגירת HUN בלי להציג את ממשק המשתמש של השיחה במסך מלא כשהמשתמש לא נמצא ב-Dialer.
<bool name="config_show_fullscreen_incall_ui">true</bool>
פינה של הדמות
שינוי הערך הזה משפיע על כל צורות הדמות, כולל הדמות של ההתראות:
- הערך 0.5 מציין דמות עגולה.
- הערך 1 מציין דמות ריבועית.
<dimen name="contact_avatar_corner_radius_percent" format="float">0.5</dimen>
גודל התמונה של תמונת הפרופיל שמוצגת בפריטים ברשימה
אפשר להשתמש בתצורה הזו כדי להגדיר את גודל התמונה של פריטים ברשימה בדפים הבאים:
- הדף 'היסטוריית שיחות'
- דף אנשי הקשר
- דף חיפוש
- דמות הפרופיל בדף Dialpad
<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>