diff options
author | zachh <zachh@google.com> | 2018-02-05 16:32:14 -0800 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2018-02-05 17:50:01 -0800 |
commit | 4c185f69903230a32d5166e3e56f5246449d71d7 (patch) | |
tree | 1ec0d4eb51e41e86e20f4520648652bebe58512a /java/com/android/dialer/calllog/ui/res/values | |
parent | 014ffe1d515841a065ae946596d743558d28d8f0 (diff) |
Match redlines in new call log.
This includes:
-Moved call count to after icons
-Bold PhoneAccount for new calls
-Fixed recycling issues in call type icons and phone account
-Fixed cropping at bottom of "y" character (see b/67913060)
-Reduced nesting in layout
-Removed dimens.xml as it shouldn't be shared by voicemail
-Set the alpha for Wifi/HD icons depending on read/unread status
-Don't color call type icons, except for missed
-Call type icons scale with display size
-Call type icons are larger (18dp) in new UI
Note that FrameLayout is used to ensure that icons/callCount view is not clipped, and instead contact name is ellipsized when the content is too wide to fit.
Bug: 67913060,70989593,70989611
Test: unit and manual
PiperOrigin-RevId: 184605728
Change-Id: Ie36c89354cbe4444ad2b42b6b0040430e396691c
Diffstat (limited to 'java/com/android/dialer/calllog/ui/res/values')
-rw-r--r-- | java/com/android/dialer/calllog/ui/res/values/colors.xml (renamed from java/com/android/dialer/calllog/ui/res/values/dimens.xml) | 18 | ||||
-rw-r--r-- | java/com/android/dialer/calllog/ui/res/values/styles.xml | 8 |
2 files changed, 15 insertions, 11 deletions
diff --git a/java/com/android/dialer/calllog/ui/res/values/dimens.xml b/java/com/android/dialer/calllog/ui/res/values/colors.xml index bfb4c99d7..0a6d512ef 100644 --- a/java/com/android/dialer/calllog/ui/res/values/dimens.xml +++ b/java/com/android/dialer/calllog/ui/res/values/colors.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <!-- - ~ Copyright (C) 2017 The Android Open Source Project + ~ Copyright (C) 2018 The Android Open Source Project ~ ~ Licensed under the Apache License, Version 2.0 (the "License"); ~ you may not use this file except in compliance with the License. @@ -14,15 +14,11 @@ ~ See the License for the specific language governing permissions and ~ limitations under the License --> -<resources> - <!-- call log entries --> - <dimen name="call_log_entry_top_margin">6dp</dimen> - <dimen name="call_log_entry_padding_bottom_end">16dp</dimen> - <dimen name="call_log_entry_padding_top_start">12dp</dimen> - <dimen name="call_log_entry_photo_size">48dp</dimen> - <dimen name="call_log_entry_photo_padding">4dp</dimen> - <dimen name="call_log_entry_photo_text_margin">8dp</dimen> - <dimen name="call_log_entry_menu_button_size">48dp</dimen> +<resources> + <color name="feature_icon_read_color">#9E9E9E</color> + <color name="feature_icon_unread_color">#474747</color> -</resources> + <color name="call_type_icon_read_color">#757575</color> + <color name="call_type_icon_unread_color">#D32F2F</color> +</resources>
\ No newline at end of file diff --git a/java/com/android/dialer/calllog/ui/res/values/styles.xml b/java/com/android/dialer/calllog/ui/res/values/styles.xml index f8502370a..d521feed4 100644 --- a/java/com/android/dialer/calllog/ui/res/values/styles.xml +++ b/java/com/android/dialer/calllog/ui/res/values/styles.xml @@ -31,9 +31,17 @@ <item name="android:fontFamily">sans-serif</item> </style> + <style name="phoneaccount_textview"> + <item name="android:fontFamily">sans-serif</item> + </style> + <style name="secondary_textview_new_call"> <item name="android:textColor">@color/missed_call</item> <item name="android:fontFamily">sans-serif-medium</item> </style> + <style name="phoneaccount_textview_new_call"> + <item name="android:fontFamily">sans-serif-medium</item> + </style> + </resources>
\ No newline at end of file |