summaryrefslogtreecommitdiff
path: root/java/com/android/contacts/common/res/values/dimens.xml
diff options
context:
space:
mode:
authorEric Erfanian <erfanian@google.com>2017-08-31 06:57:16 -0700
committerRoland Levillain <rpl@google.com>2017-09-04 18:05:19 +0100
commitfc0eb8ccebcc7846db5e8b5c5430070055679bfa (patch)
treea8a23c3202e4161ffd57a71095a404db1bcf5735 /java/com/android/contacts/common/res/values/dimens.xml
parentea7b4dc89590ffa3332766a531e0eab6ffb9aebd (diff)
Update Dialer source to latest internal Google revision.
Previously, Android's Dialer app was developed in an internal Google source control system and only exported to public during AOSP drops. The Dialer team is now switching to a public development model similar to the telephony team. This CL represents all internal Google changes that were committed to Dialer between the public O release and today's tip of tree on internal master. This CL squashes those changes into a single commit. In subsequent changes, changes will be exported on a per-commit basis. (cherry picked from commit 2ca4318cc1ee57dda907ba2069bd61d162b1baef and amended to match paths of dependencies under prebuilts/maven_repo/bumptech/com/github/bumptech/glide/.) This CL was generated using these commands from a repository at stage-stage-master at revision ea7b4dc89590ffa3332766a531e0eab6ffb9aebd ("Merge "Update Dialer source to latest internal Google revision." am: c39ea3c55f -s ours"): git diff --binary 2ca4318cc1ee57dda907ba2069bd61d162b1baef | git apply -R --index git commit -c 2ca4318cc1ee57dda907ba2069bd61d162b1baef Test: make, flash install, run Change-Id: I529aaeb88535b9533c0ae4ef4e6c1222d4e0f1c8 PiperOrigin-RevId: 167068436
Diffstat (limited to 'java/com/android/contacts/common/res/values/dimens.xml')
-rw-r--r--java/com/android/contacts/common/res/values/dimens.xml61
1 files changed, 1 insertions, 60 deletions
diff --git a/java/com/android/contacts/common/res/values/dimens.xml b/java/com/android/contacts/common/res/values/dimens.xml
index 26f095f39..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,38 +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>
-
- <!-- Dimensions for contact letter tiles -->
- <dimen name="tile_letter_font_size">40dp</dimen>
- <dimen name="tile_letter_font_size_small">20dp</dimen>
- <dimen name="tile_divider_width">1dp</dimen>
- <item name="letter_to_tile_ratio" type="dimen">67%</item>
<!-- Height of the floating action button -->
<dimen name="floating_action_button_height">56dp</dimen>
@@ -115,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.-->
@@ -130,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