summaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authorTyler Gunn <tgunn@google.com>2015-08-05 08:18:37 -0700
committerTyler Gunn <tgunn@google.com>2015-08-05 08:18:37 -0700
commit18b4a2e3b8d60df39b3489c76bf4edffb81e15a5 (patch)
treea021f0e598fa0b282060c444a389ae2002d11beb /res
parent7803a759563422a12eeaf5c54561d86fd41b0d49 (diff)
Add "Call with a note" action.
- Adding call with a note action to the call log. Capability lookup is cached. - Moved getLookupKeyFromUri to ContactsCommon. - Added some extra required values in CallLogListItemViewHolder so that the call subject dialog is able to build the correct contact photo. Bug: 22685114 Change-Id: I6665c55137eef7db3ff7ac12d70d823937e8c28b
Diffstat (limited to 'res')
-rw-r--r--res/layout/call_log_list_item_actions.xml14
1 files changed, 14 insertions, 0 deletions
diff --git a/res/layout/call_log_list_item_actions.xml b/res/layout/call_log_list_item_actions.xml
index b42720655..16a712bcd 100644
--- a/res/layout/call_log_list_item_actions.xml
+++ b/res/layout/call_log_list_item_actions.xml
@@ -105,6 +105,20 @@
</LinearLayout>
<LinearLayout
+ android:id="@+id/call_with_note_action"
+ style="@style/CallLogActionStyle">
+
+ <ImageView
+ style="@style/CallLogActionIconStyle"
+ android:src="@drawable/ic_call_note_white_24dp" />
+
+ <TextView
+ style="@style/CallLogActionTextStyle"
+ android:text="@string/call_with_a_note" />
+
+ </LinearLayout>
+
+ <LinearLayout
android:id="@+id/details_action"
style="@style/CallLogActionStyle">