summaryrefslogtreecommitdiff
path: root/java/com/android/contacts/common/res/values
diff options
context:
space:
mode:
Diffstat (limited to 'java/com/android/contacts/common/res/values')
-rw-r--r--java/com/android/contacts/common/res/values/colors.xml36
-rw-r--r--java/com/android/contacts/common/res/values/dimens.xml55
-rw-r--r--java/com/android/contacts/common/res/values/donottranslate_config.xml54
-rw-r--r--java/com/android/contacts/common/res/values/integers.xml4
4 files changed, 1 insertions, 148 deletions
diff --git a/java/com/android/contacts/common/res/values/colors.xml b/java/com/android/contacts/common/res/values/colors.xml
index ca873414c..1f46233c4 100644
--- a/java/com/android/contacts/common/res/values/colors.xml
+++ b/java/com/android/contacts/common/res/values/colors.xml
@@ -15,11 +15,6 @@
-->
<resources>
- <!-- Background color corresponding to the holo list 9-patch. -->
- <color name="holo_list_background_color">#eeeeee</color>
-
- <color name="focus_color">#44ff0000</color>
-
<!-- Color of ripples used for views with dark backgrounds -->
<color name="dialer_ripple_material_dark">#a0ffffff</color>
@@ -34,29 +29,9 @@
<!-- Text color for section header. -->
<color name="section_header_text_color">#2A56C6</color>
- <!-- Divider color for header separator -->
- <color name="main_header_separator_color">#AAAAAA</color>
-
- <!-- Divider color for header separator -->
- <color name="secondary_header_separator_color">#D0D0D0</color>
-
<!-- Color of the theme of the People app -->
<color name="people_app_theme_color">#363636</color>
- <!-- Color of image view placeholder. -->
- <color name="image_placeholder">#DDDDDD</color>
-
- <!-- Color of the semi-transparent shadow box on contact tiles -->
- <color name="contact_tile_shadow_box_color">#7F000000</color>
-
- <!-- Color of the status message for starred contacts in the People app -->
- <color name="people_contact_tile_status_color">#CCCCCC</color>
-
- <color name="shortcut_overlay_text_background">#7f000000</color>
-
- <color name="textColorIconOverlay">#fff</color>
- <color name="textColorIconOverlayShadow">#000</color>
-
<!-- Darker versions of letter_tile_colors, two shades darker. These colors are used
for settings secondary activity colors. -->
<array name="letter_tile_colors_dark">
@@ -76,18 +51,7 @@
<item>#424242</item>
</array>
- <!-- The default color used for tinting photos when no color can be extracted via Palette,
- this is Blue Grey 500 -->
- <color name="quickcontact_default_photo_tint_color">#607D8B</color>
- <!-- The default secondary color when no color can be extracted via Palette,
- this is Blue Grey 700 -->
- <color name="quickcontact_default_photo_tint_color_dark">#455A64</color>
-
<color name="contactscommon_actionbar_background_color">@color/dialer_theme_color</color>
- <!-- Color for icons in the actionbar -->
- <color name="actionbar_icon_color">#ffffff</color>
- <!-- Darker version of the actionbar color. Used for the status bar and navigation bar colors. -->
- <color name="actionbar_background_color_dark">#008aa1</color>
<color name="tab_ripple_color">#ffffff</color>
<color name="tab_accent_color">@color/tab_ripple_color</color>
diff --git a/java/com/android/contacts/common/res/values/dimens.xml b/java/com/android/contacts/common/res/values/dimens.xml
index 74e1547ba..19b27b8c6 100644
--- a/java/com/android/contacts/common/res/values/dimens.xml
+++ b/java/com/android/contacts/common/res/values/dimens.xml
@@ -14,7 +14,7 @@
~ limitations under the License
-->
-<resources>
+<resources xmlns:tools="http://schemas.android.com/tools">
<!-- Padding between the action bar's bottom edge and the first header
in contacts/group lists. -->
@@ -28,24 +28,6 @@
<dimen name="directory_header_extra_top_padding">18dp</dimen>
<dimen name="directory_header_extra_bottom_padding">8dp</dimen>
- <!-- Horizontal padding in between contact tiles -->
- <dimen name="contact_tile_divider_padding">23dip</dimen>
- <!-- Horizontal whitespace (both padding and margin) before the first tile and after the last tile -->
- <dimen name="contact_tile_start_end_whitespace">16dip</dimen>
-
- <!-- Left and right padding for a contact detail item -->
- <dimen name="detail_item_side_margin">16dip</dimen>
-
- <!-- ContactTile Layouts -->
- <!--
- Use sp instead of dip so that the shadowbox heights can all scale uniformly
- when the font size is scaled for accessibility purposes
- -->
- <dimen name="contact_tile_shadowbox_height">48sp</dimen>
-
- <!-- Top padding of the ListView in the contact tile list -->
- <dimen name="contact_tile_list_padding_top">0dip</dimen>
-
<!-- Padding to be used between a visible scrollbar and the contact list -->
<dimen name="list_visible_scrollbar_padding">32dip</dimen>
@@ -56,32 +38,10 @@
<!-- Width of a contact list item section header. -->
<dimen name="contact_list_section_header_width">56dp</dimen>
- <!-- Size of the shortcut icon. 0dip means: use the system default -->
- <dimen name="shortcut_icon_size">0dip</dimen>
-
- <!-- Text size of shortcut icon overlay text -->
- <dimen name="shortcut_overlay_text_size">12dp</dimen>
-
- <!-- Extra vertical padding for darkened background behind shortcut icon overlay text -->
- <dimen name="shortcut_overlay_text_background_padding">1dp</dimen>
-
- <!-- Width of height of an icon from a third-party app in the networks section of the contact card. -->
- <dimen name="detail_network_icon_size">32dip</dimen>
-
- <!-- Empty message margins -->
- <dimen name="empty_message_top_margin">48dip</dimen>
-
<!-- contact browser list margins -->
<dimen name="contact_browser_list_item_text_size">16sp</dimen>
<dimen name="contact_browser_list_item_photo_size">40dp</dimen>
<dimen name="contact_browser_list_item_gap_between_image_and_text">15dp</dimen>
- <dimen name="contact_browser_list_top_margin">12dp</dimen>
-
- <!-- Dimensions for "No contacts" string in PhoneFavoriteFragment for the All contacts
- with phone numbers section
- -->
- <dimen name="contact_phone_list_empty_description_size">20sp</dimen>
- <dimen name="contact_phone_list_empty_description_padding">10dip</dimen>
<!-- Height of the floating action button -->
<dimen name="floating_action_button_height">56dp</dimen>
@@ -109,8 +69,6 @@
<dimen name="tab_unread_count_text_size">12sp</dimen>
<dimen name="tab_unread_count_text_padding">2dp</dimen>
- <!-- Padding around the icon in the search box. -->
- <dimen name="search_box_icon_margin">4dp</dimen>
<!-- Size of the icon (voice search, back arrow) in the search box. -->
<dimen name="search_box_icon_size">48dp</dimen>
<!-- Size of the close icon.-->
@@ -124,17 +82,6 @@
<!-- Search box text size -->
<dimen name="search_text_size">20sp</dimen>
- <!-- Top margin for the Frequently Contacted section title -->
- <dimen name="frequently_contacted_title_top_margin_when_first_row">16dp</dimen>
- <!-- Top margin for the Frequently Contacted section title, when the title is the first
- item in the list -->
- <dimen name="frequently_contacted_title_top_margin">57dp</dimen>
-
- <dimen name="frequently_contacted_title_text_size">24sp</dimen>
-
- <!-- Size of icon for contacts number shortcuts -->
- <dimen name="search_shortcut_radius">40dp</dimen>
-
<dimen name="contact_list_card_elevation">2dp</dimen>
<!-- Padding used around the periphery of the call subject dialog, as well as in between the
diff --git a/java/com/android/contacts/common/res/values/donottranslate_config.xml b/java/com/android/contacts/common/res/values/donottranslate_config.xml
index 324437928..f37e0b8d8 100644
--- a/java/com/android/contacts/common/res/values/donottranslate_config.xml
+++ b/java/com/android/contacts/common/res/values/donottranslate_config.xml
@@ -15,9 +15,6 @@
-->
<resources>
- <!-- Flag indicating whether Contacts app is allowed to import contacts -->
- <bool name="config_allow_import_from_vcf_file">true</bool>
-
<!-- If true, an option is shown in Display Options UI to choose a sort order -->
<bool name="config_sort_order_user_changeable">true</bool>
@@ -41,55 +38,4 @@
<!-- Contacts preferences key for contact editor anything saved -->
<string name="contact_editor_anything_saved_key">ContactEditorUtils_anything_saved</string>
-
- <!-- The type of VCard for export. If you want to let the app emit vCard which is
- specific to some vendor (like DoCoMo), specify this type (e.g. "docomo") -->
- <string name="config_export_vcard_type" translatable="false">default</string>
-
- <!-- The type of vcard for improt. If the vcard importer cannot guess the exact type
- of a vCard type, the improter uses this type. -->
- <string name="config_import_vcard_type" translatable="false">default</string>
-
- <!-- Prefix of exported VCard file -->
- <string name="config_export_file_prefix" translatable="false"></string>
-
- <!-- Suffix of exported VCard file. Attached before an extension -->
- <string name="config_export_file_suffix" translatable="false"></string>
-
- <!-- Extension for exported VCard files -->
- <string name="config_export_file_extension">vcf</string>
-
- <!-- The filename that is suggested that users use when exporting vCards. Should include the .vcf extension. -->
- <string name="exporting_vcard_filename" translatable="false">contacts.vcf</string>
-
- <!-- Minimum number of exported VCard file index -->
- <integer name="config_export_file_min_index">1</integer>
-
- <!-- Maximum number of exported VCard file index -->
- <integer name="config_export_file_max_index">99999</integer>
-
- <!-- The list (separated by ',') of extensions should be checked in addition to
- config_export_extension. e.g. If "aaa" is added to here and 00001.vcf and 00002.aaa
- exist in a target directory, 00003.vcf becomes a next file name candidate.
- Without this configuration, 00002.vcf becomes the candidate.-->
- <string name="config_export_extensions_to_consider" translatable="false"></string>
-
- <!-- If true, enable the "import contacts from SIM" feature if the device
- has an appropriate SIM or ICC card.
- Setting this flag to false in a resource overlay allows you to
- entirely disable SIM import on a per-product basis. -->
- <bool name="config_allow_sim_import">true</bool>
-
- <!-- Flag indicating whether Contacts app is allowed to export contacts -->
- <bool name="config_allow_export">true</bool>
-
- <!-- Flag indicating whether Contacts app is allowed to share contacts with devices outside -->
- <bool name="config_allow_share_contacts">true</bool>
-
- <string name="pref_build_version_key">pref_build_version</string>
- <string name="pref_open_source_licenses_key">pref_open_source_licenses</string>
- <string name="pref_privacy_policy_key">pref_privacy_policy</string>
- <string name="pref_terms_of_service_key">pref_terms_of_service</string>
-
- <string name="star_sign">★</string>
</resources>
diff --git a/java/com/android/contacts/common/res/values/integers.xml b/java/com/android/contacts/common/res/values/integers.xml
index d38ad1da0..f4ed5c276 100644
--- a/java/com/android/contacts/common/res/values/integers.xml
+++ b/java/com/android/contacts/common/res/values/integers.xml
@@ -19,7 +19,6 @@
<!-- Determines the number of columns in a ContactTileRow in the favorites tab -->
<integer name="contact_tile_column_count_in_favorites">2</integer>
- <integer name="contact_tile_column_count_in_favorites_new">3</integer>
<!-- The number of characters in the snippet before we need to tokenize and ellipse. -->
<integer name="snippet_length_before_tokenize">30</integer>
@@ -33,7 +32,4 @@
<!-- Duration of the animations on the call subject dialog. -->
<integer name="call_subject_animation_duration">250</integer>
-
- <!-- A big number to make sure "About contacts" always showing at the bottom of Settings.-->
- <integer name="about_contacts_order_number">100</integer>
</resources>