diff options
author | Nancy Chen <nancychen@google.com> | 2014-06-11 17:56:07 -0700 |
---|---|---|
committer | Nancy Chen <nancychen@google.com> | 2014-06-26 16:21:15 -0700 |
commit | 87ba489564b25d4a64c9faaeafea46e2f72d8933 (patch) | |
tree | 15d3eb5c9865eb1bc4c3244d3277c3ea7ab23a3b /res | |
parent | 8a80d19f88d224f1427d7656e361eb77e1f90974 (diff) |
Add icon indicating subscription in call log/call history
Display an icon in the call details showing which connection provider
(subscription) is responsible for the call.
Bug: 15473965
Change-Id: I0c6755864083799b8bafe20c3692b0d943beeee3
Diffstat (limited to 'res')
-rw-r--r-- | res/layout/call_log_list_item.xml | 8 | ||||
-rw-r--r-- | res/values/dimens.xml | 4 |
2 files changed, 11 insertions, 1 deletions
diff --git a/res/layout/call_log_list_item.xml b/res/layout/call_log_list_item.xml index d925c13b8..d46462eba 100644 --- a/res/layout/call_log_list_item.xml +++ b/res/layout/call_log_list_item.xml @@ -112,6 +112,14 @@ android:layout_marginEnd="@dimen/call_log_icon_margin" android:layout_gravity="center_vertical" /> + <ImageView + android:id="@+id/call_subscription_icon" + android:layout_width="@dimen/call_provider_small_icon_size" + android:layout_height="@dimen/call_provider_small_icon_size" + android:layout_marginEnd="@dimen/call_log_icon_margin" + android:layout_gravity="center_vertical" + android:scaleType="centerInside" + /> <TextView android:id="@+id/call_location_and_date" android:layout_width="wrap_content" diff --git a/res/values/dimens.xml b/res/values/dimens.xml index 86604edb8..f806c8268 100644 --- a/res/values/dimens.xml +++ b/res/values/dimens.xml @@ -41,10 +41,12 @@ <dimen name="call_detail_header_top_margin">24dp</dimen> <dimen name="call_detail_translation_z">0.5dp</dimen> + <!-- Size of call provider icon width and height --> + <dimen name="call_provider_small_icon_size">12dp</dimen> + <!-- Match call_button_height to Phone's dimens/in_call_end_button_height --> <dimen name="call_button_height">74dp</dimen> - <!-- Dimensions for speed dial tiles --> <dimen name="contact_tile_divider_width">1dp</dimen> <dimen name="contact_tile_info_button_height_and_width">36dp</dimen> |