diff options
author | Yu Jin <yujin@codeorara.com> | 2016-06-07 11:42:14 +0800 |
---|---|---|
committer | Linux Build Service Account <lnxbuild@localhost> | 2016-08-24 08:18:25 -0600 |
commit | 9a1add45054f6c01361969b5c0819aec886abd2a (patch) | |
tree | 412c1bf205e4da5e58eb0d150d6163f9116436df /res/values | |
parent | 6aaab7cd5ad6b435ee1705ae76f7b066c4c537fd (diff) | |
download | android_packages_apps_Dialer-9a1add45054f6c01361969b5c0819aec886abd2a.tar.gz android_packages_apps_Dialer-9a1add45054f6c01361969b5c0819aec886abd2a.tar.bz2 android_packages_apps_Dialer-9a1add45054f6c01361969b5c0819aec886abd2a.zip |
Refine Dialer UI and add call log search function.
Add call log search funtion: add a menu to support search
call log by name and number in the calllog screen and
support hightlight for search result.
Refine empty call log, clear call log and clear dialog style.
Refine call log spinner style.
CRs-Fixed: 985466
Change-Id: I4bf729bd9b0b043b651792353545da9b33aafe58
Diffstat (limited to 'res/values')
-rw-r--r-- | res/values/colors.xml | 3 | ||||
-rw-r--r-- | res/values/dimens.xml | 4 | ||||
-rw-r--r-- | res/values/strings.xml | 7 | ||||
-rw-r--r-- | res/values/styles.xml | 9 |
4 files changed, 19 insertions, 4 deletions
diff --git a/res/values/colors.xml b/res/values/colors.xml index 38fd6b39a..10b689e07 100644 --- a/res/values/colors.xml +++ b/res/values/colors.xml @@ -139,4 +139,7 @@ <color name="call_detail_footer_text_color">#616161</color> <color name="call_detail_footer_icon_tint">@color/call_detail_footer_text_color</color> + <color name="searchview_edittext">#59ffffff</color> + <color name="no_call_log">#42000000</color> + <color name="list_all_call">#d3000000</color> </resources> diff --git a/res/values/dimens.xml b/res/values/dimens.xml index 6c8d61d2b..d9c425daa 100644 --- a/res/values/dimens.xml +++ b/res/values/dimens.xml @@ -174,4 +174,8 @@ <dimen name="call_type_icon_size">12dp</dimen> <dimen name="tab_unread_count_margin_left">0dp</dimen> + + <dimen name="list_all_calls">200dp</dimen> + <dimen name="empty_list_message_text_size_for_Marshmallow">16dp</dimen> + <dimen name="call_log_spinner_text_size">16sp</dimen> </resources> diff --git a/res/values/strings.xml b/res/values/strings.xml index 3c68c0cd6..0d73d06c7 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -1111,4 +1111,11 @@ e mode.</string> <!-- Text displayed when the list of outgoing calls is empty --> <string name="recentOutgoing_empty">You have no outgoing calls.</string> + + <!-- Text displayed when the call log is empty. --> + <string name="recentCalls_empty">Your call log is empty</string> + <string name="calllog_search_hint">"Search call log"</string> + <string name="no_call_log">No call log</string> + <string name="clear">Clear</string> + <string name="description_clear_search">Clear search</string> </resources> diff --git a/res/values/styles.xml b/res/values/styles.xml index 478d6ba72..dbe32447a 100644 --- a/res/values/styles.xml +++ b/res/values/styles.xml @@ -440,12 +440,13 @@ </style> <style name="CallLogSpinnerStyle"> - <item name="android:textAppearance">?android:attr/textAppearanceSmall</item> - <item name="android:textStyle">bold</item> - <item name="android:textColor">@android:color/black</item> + <item name="android:textSize">@dimen/call_log_spinner_text_size</item> <item name="android:gravity">center_vertical</item> <item name="android:ellipsize">marquee</item> <item name="android:singleLine">true</item> - <item name="android:textAllCaps">true</item> + </style> + <style name="NOCallLOG"> + <item name="android:textStyle">bold</item> + <item name="android:textColor">#000000</item> </style> </resources> |