ערכים גלובליים הניתנים להגדרה

השתמש במשאבים המופיעים במאמר זה כדי להתאים אישית את חייגן. תצוגות שונות ישתמשו במשאבים שהופנו מהערכים הגלובליים. למידע נוסף, עיין בעיצוב UX של 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>

כוח המשיכה של ספרות קלט ב-Dialpad

<!-- 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 מציין את שם מכשיר ה-Bluetooth המחובר.
<!-- Use app name as toolbar title. Supported value see @attr/toolbarTitleMode -->
<integer name="config_toolbar_title_mode">0</integer>

ממשק משתמש לקריאה במסך מלא

שער תצורה עבור ממשק המשתמש של קריאה במסך מלא. כאשר מוגדר כ-true, מענה לשיחה נכנסת מציג את ממשק המשתמש של החיוג במסך מלא ללא קשר למשתמש חייגן. כאשר מוגדר כ-false, מענה לשיחה נכנסת מבטלת את ה-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>

גודל הדמות המשמש לפריטי רשימה

השתמש בתצורה זו כדי להגדיר את גודל הדמות עבור פריטי רשימה בדפים אלה:

  • עמוד היסטוריית שיחות
  • דף אנשי קשר
  • דף חיפוש
  • דמות פרופיל בדף 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>