مقادیر قابل تنظیم جهانی

از منابع ارائه شده در این مقاله برای سفارشی کردن Dialer استفاده کنید. نماهای مختلف از منابع هدایت‌شده از مقادیر جهانی استفاده می‌کنند. برای اطلاعات بیشتر، طراحی 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>

تمام صفحه incall UI

گیت پیکربندی برای رابط کاربری تمام صفحه incall. هنگامی که روی true تنظیم می شود، پاسخ دادن به تماس ورودی بدون در نظر گرفتن کاربر Dialer، UI تماس تمام صفحه را نمایش می دهد. وقتی روی نادرست تنظیم می‌شود، وقتی کاربر در Dialer نیست، پاسخ دادن به تماس ورودی، HUN را بدون نمایش رابط کاربری تمام صفحه incall رد می‌کند.

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