summaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authorAnne Rong <annerong@google.com>2015-07-20 18:03:38 -0700
committerAnne Rong <annerong@google.com>2015-07-21 14:21:14 -0700
commit664b2018c038fa4626dd06741f117ed3296c11ea (patch)
treea18519f4b3280027aaa20e2fee8d5283f5e8c06b /res
parent59c4dfdf471ee72d9e7994853daa6344a555a9e8 (diff)
Allow copying the voicemail transcription
Added item to context menu that allows copying the voicemail transcript. Removed the select-on-double-tap from previous commit. Bug: 22451484 Change-Id: I518680afda74c4c15c5fb16b02a55cae64ed131d
Diffstat (limited to 'res')
-rw-r--r--res/layout/call_log_list_item.xml1
-rw-r--r--res/values/ids.xml1
-rw-r--r--res/values/strings.xml6
3 files changed, 7 insertions, 1 deletions
diff --git a/res/layout/call_log_list_item.xml b/res/layout/call_log_list_item.xml
index f5c0f369e..ec512b67f 100644
--- a/res/layout/call_log_list_item.xml
+++ b/res/layout/call_log_list_item.xml
@@ -96,7 +96,6 @@
android:textSize="@dimen/call_log_secondary_text_size"
android:singleLine="true"
android:ellipsize="marquee"
- android:textIsSelectable="true"
android:visibility="gone" />
<LinearLayout
diff --git a/res/values/ids.xml b/res/values/ids.xml
index e2f0ff593..5c00924a8 100644
--- a/res/values/ids.xml
+++ b/res/values/ids.xml
@@ -16,5 +16,6 @@
<resources>
<item type="id" name="context_menu_copy_to_clipboard" />
+ <item type="id" name="context_menu_copy_transcript_to_clipboard" />
<item type="id" name="context_menu_edit_before_call" />
</resources>
diff --git a/res/values/strings.xml b/res/values/strings.xml
index eec9b0ca7..adf0456da 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -51,6 +51,12 @@
[CHAR LIMIT=30] -->
<string name="call_detail_menu_report">Report inaccurate number</string>
+ <!-- Option displayed in context menu to copy long pressed phone number to clipboard [CHAR LIMIT=64] -->
+ <string name="copy_number_text">Copy number to clipboard</string>
+
+ <!-- Option displayed in context menu to copy long pressed voicemail transcription to clipboard [CHAR LIMIT=64] -->
+ <string name="copy_transcript_text">Copy transcription to clipboard</string>
+
<!-- Menu item used to copy a number from the call log to the dialer so it can be edited before calling it -->
<string name="recentCalls_editNumberBeforeCall">Edit number before call</string>