summaryrefslogtreecommitdiff
path: root/res/values/dimens.xml
diff options
context:
space:
mode:
authorAndrew Lee <anwlee@google.com>2014-05-21 18:05:56 -0700
committerAndrew Lee <anwlee@google.com>2014-05-22 21:13:03 +0000
commit13f6fd048f0cdc26e9dc6b78a02515e72fff2e27 (patch)
treec6903644ce699283ac922dc0161fe4156bef25f3 /res/values/dimens.xml
parent91b50b81967409ef25b3b1893f2a63c0c5355c53 (diff)
DO NOT MERGE. Tidy up call log shadow/touch interactions.
- Constrain the recents list footer ripple to its dimensions. - Eliminate bottom margin on the call log list items. - Changed translationZ on expand to apply to the call log list item instead of just its primary action view. - Adjust the outline clipping so that a shadow doesn't appear under the day group header, now that the translation is applied to the entire list item. - Instantiated a number of fixed property values in onCreate() in the CallLogFragment, instead of whenever they're needed. Bug: 15165669 Change-Id: I5ed81ae49fb0c3f6eed360f247c1fd67278a628c (cherry picked from commit 6e765f9a71b450809c4916a5d5562cdc1372a39a)
Diffstat (limited to 'res/values/dimens.xml')
-rw-r--r--res/values/dimens.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/res/values/dimens.xml b/res/values/dimens.xml
index 6d7aa84fb..f399e368e 100644
--- a/res/values/dimens.xml
+++ b/res/values/dimens.xml
@@ -30,7 +30,7 @@
<dimen name="call_log_call_action_width">54dp</dimen>
<dimen name="call_log_icon_margin">4dip</dimen>
<dimen name="call_log_inner_margin">8dip</dimen>
- <dimen name="call_log_outer_margin">8dip</dimen>
+ <dimen name="call_log_outer_margin">8dp</dimen>
<dimen name="call_log_indent_margin">24dip</dimen>
<dimen name="call_log_list_item_height">56dip</dimen>
<dimen name="call_log_list_contact_photo_size">40dip</dimen>
@@ -130,8 +130,8 @@
<dimen name="call_log_secondary_text_size">14sp</dimen>
<!-- Height of the call log actions section for each call log entry -->
<dimen name="call_log_action_height">48dp</dimen>
- <!-- Elevation of expanded call log items. -->
- <dimen name="call_log_expanded_elevation">4dp</dimen>
+ <!-- Z Translation of expanded call log items. -->
+ <dimen name="call_log_expanded_translation_z">4dp</dimen>
<!-- Padding above call log day group headers. -->
<dimen name="call_log_day_group_padding">16dp</dimen>
</resources>