From eb141e078353a2e3a997001afd1aa16a88da429b Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Thu, 21 Aug 2014 13:20:54 -0700 Subject: Add "add to contacts" actionable item to shortcut card. + This appears for contacts with no lookup key. This means that it will show up for businesses too; even though we match a name, there's no lookup key. + Remove missed call information which used to be shown below the shortcut card, but no longer is. + Make alignment of this call log list item more pretty. + Add tinted person_add drawable for this actionable item. Bug: 17186220 Change-Id: Iabcfa73c2ffeeb0bb24127ef74e85e612be51b9e --- res/layout/call_log_list_item_extra.xml | 75 ++++++++++++++++++--------------- 1 file changed, 40 insertions(+), 35 deletions(-) (limited to 'res/layout') diff --git a/res/layout/call_log_list_item_extra.xml b/res/layout/call_log_list_item_extra.xml index 3623e3f94..c4126e42f 100644 --- a/res/layout/call_log_list_item_extra.xml +++ b/res/layout/call_log_list_item_extra.xml @@ -18,45 +18,50 @@ + android:id="@+id/badge_container" + android:layout_width="match_parent" + android:layout_height="wrap_content"> + android:layout_height="1px" + android:background="@color/favorite_contacts_separator_color" /> - - + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:paddingStart="@dimen/call_log_outer_margin" + android:paddingEnd="@dimen/call_log_outer_margin" + android:paddingTop="@dimen/call_log_item_extra_padding_vertical" + android:paddingBottom="@dimen/call_log_item_extra_padding_vertical" + android:background="?android:attr/selectableItemBackground" + android:clickable="true"> + + + + + + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_gravity="center_vertical" + android:layout_marginEnd="@dimen/call_log_icon_margin" + android:src="@drawable/ic_close_dk" + android:tint="@color/recent_call_log_item_phone_icon_tint" + android:alpha="0.3" + android:background="?android:attr/selectableItemBackground" + android:visibility="gone" + android:contentDescription="@string/description_dismiss" /> + + \ No newline at end of file -- cgit v1.2.3