summaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authorAndrew Lee <anwlee@google.com>2015-05-12 19:09:00 -0700
committerAndrew Lee <anwlee@google.com>2015-05-13 11:55:22 -0700
commit247df6ee4f43af916f7e7f339ed181a18807ef36 (patch)
tree5398368b42b5b18d525a8112eb7556dde0da42e7 /res
parent8ba6e006159a887671862c314e94487c0fd5e8e0 (diff)
Reorganize Intent utilities, add send SMS intent.
+ Rename CallIntentUtils.java to IntentUtil.java. + Consolidate various intent creation methods to new file, and update referenes throughout the application. Bug: 20433758 Change-Id: Iee9e37985217c38c816124d0e74dff40a2871680
Diffstat (limited to 'res')
-rw-r--r--res/layout/call_log_list_item_actions.xml14
-rw-r--r--res/values/strings.xml5
2 files changed, 19 insertions, 0 deletions
diff --git a/res/layout/call_log_list_item_actions.xml b/res/layout/call_log_list_item_actions.xml
index a10b47f74..d3e18be28 100644
--- a/res/layout/call_log_list_item_actions.xml
+++ b/res/layout/call_log_list_item_actions.xml
@@ -80,6 +80,20 @@
</LinearLayout>
<LinearLayout
+ android:id="@+id/send_message_action"
+ style="@style/CallLogActionStyle">
+
+ <ImageView
+ style="@style/CallLogActionIconStyle"
+ android:src="@drawable/ic_textsms_24dp" />
+
+ <TextView
+ style="@style/CallLogActionTextStyle"
+ android:text="@string/call_log_action_send_message" />
+
+ </LinearLayout>
+
+ <LinearLayout
android:id="@+id/details_action"
style="@style/CallLogActionStyle">
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 79c441d16..2e236a64a 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -550,6 +550,11 @@
[CHAR LIMIT=30] -->
<string name="call_log_action_voicemail">LISTEN</string>
+ <!-- Button text for a button displayed underneath an entry in the call log, which opens up a
+ messaging app to send a SMS to the number represented by the call log entry.
+ [CHAR LIMIT=50] -->
+ <string name="call_log_action_send_message">Send Message</string>
+
<!-- Button text for the button displayed underneath an entry in the call log.
Tapping navigates the user to the call details screen where the user can view details for
the call log entry. [CHAR LIMIT=50] -->