summaryrefslogtreecommitdiffstats
path: root/res/values
diff options
context:
space:
mode:
authorAndrew Lee <anwlee@google.com>2015-05-08 12:00:52 -0700
committerAndrew Lee <anwlee@google.com>2015-05-08 12:01:45 -0700
commit0451f9a70032a866140d5caa6aa6303062774d3e (patch)
tree8f6593c184526eeef0267084ca4a9e3cc1330fc3 /res/values
parent84586d3b8eef15f77a91d371b6589e66105effa8 (diff)
downloadandroid_packages_apps_Dialer-0451f9a70032a866140d5caa6aa6303062774d3e.tar.gz
android_packages_apps_Dialer-0451f9a70032a866140d5caa6aa6303062774d3e.tar.bz2
android_packages_apps_Dialer-0451f9a70032a866140d5caa6aa6303062774d3e.zip
Improve talkback on call log actions.
- Remove previous/next hints; not needed. + Add descriptions for new actions. - Make TextViews not important for accessibility. Descriptions on the actions will be used instead. Bug: 20433758 Change-Id: I043b03075631134f37151e165360b038f3961b2a
Diffstat (limited to 'res/values')
-rw-r--r--res/values/strings.xml35
-rw-r--r--res/values/styles.xml1
2 files changed, 32 insertions, 4 deletions
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 7568604af..79c441d16 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -585,26 +585,53 @@
action triggers a return call to the named user.
Note: AccessibilityServices uses this attribute to announce the purpose of the button.
[CHAR LIMIT=NONE] -->
- <string name="description_call_action">Call <xliff:g id="nameOrNumber" example="John Smith">^1</xliff:g></string>
+ <string name="description_call_action">
+ Call <xliff:g id="nameOrNumber" example="John Smith">^1</xliff:g>
+ </string>
<!-- String describing the "video call" action for an entry in the call log. The video call
action triggers a return video call to the named person/number.
Note: AccessibilityServices uses this attribute to announce the purpose of the button.
[CHAR LIMIT=NONE] -->
- <string name="description_video_call_action">Video call to <xliff:g id="nameOrNumber" example="John Smith">^1</xliff:g>.</string>
+ <string name="description_video_call_action">
+ Video call <xliff:g id="nameOrNumber" example="John Smith">^1</xliff:g>.
+ </string>
<!-- String describing the "listen" action for an entry in the call log. The listen
action is shown for call log entries representing a voicemail message and this button
triggers playing back the voicemail.
Note: AccessibilityServices uses this attribute to announce the purpose of the button.
[CHAR LIMIT=NONE] -->
- <string name="description_voicemail_action">Listen to voicemail from <xliff:g id="nameOrNumber" example="John Smith">^1</xliff:g></string>
+ <string name="description_voicemail_action">
+ Listen to voicemail from <xliff:g id="nameOrNumber" example="John Smith">^1</xliff:g>
+ </string>
+
+ <!-- Description for the "create new contact" action for an entry in the call log. This action
+ opens a screen for creating a new contact for this name or number. [CHAR LIMIT=NONE] -->
+ <string name="description_create_new_contact_action">
+ Create contact for <xliff:g id="nameOrNumber" example="John Smith">^1</xliff:g>
+ </string>
+
+ <!-- Description for the "add to existing contact" action for an entry in the call log. This
+ action opens a screen for adding this name or number to an existing contact.
+ [CHAR LIMIT=NONE] -->
+ <string name="description_add_to_existing_contact_action">
+ Add <xliff:g id="nameOrNumber" example="John Smith">^1</xliff:g> to existing contact
+ </string>
<!-- String describing the "details" action for an entry in the call log. The details action
displays the call details screen for an entry in the call log. This shows the calls to
and from the specified number associated with the call log entry.
[CHAR LIMIT=NONE] -->
- <string name="description_details_action">Call details for <xliff:g id="nameOrNumber" example="John Smith">^1</xliff:g></string>
+ <string name="description_details_action">
+ Call details for <xliff:g id="nameOrNumber" example="John Smith">^1</xliff:g>
+ </string>
+
+ <!-- Description for the "report" action for an entry in the call log. This action reports that
+ the phone number lookup performed for the entry was inaccurate. [CHAR LIMIT=NONE] -->
+ <string name="description_report_action">
+ Report <xliff:g id="nameOrNumber" example="John Smith">^1</xliff:g>
+ </string>
<!-- Toast message which appears when a call log entry is deleted.
[CHAR LIMIT=NONE] -->
diff --git a/res/values/styles.xml b/res/values/styles.xml
index d41f334af..dab5c6aa1 100644
--- a/res/values/styles.xml
+++ b/res/values/styles.xml
@@ -177,6 +177,7 @@
<item name="android:fontFamily">"sans-serif-medium"</item>
<item name="android:focusable">true</item>
<item name="android:singleLine">true</item>
+ <item name="android:importantForAccessibility">no</item>
</style>
<style name="CallLogActionIconStyle">