summaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authorYorke Lee <yorkelee@google.com>2014-07-22 19:43:51 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2014-07-22 17:31:58 +0000
commit5cb300ef50e9942eef746319dd1b1b6e7c2c05e2 (patch)
tree03dc439a9a229a8ab53baf9c78cd0c3d6c4989ec /res
parente0fe275aa48e4cc98c6bf56db47a73fe74a149e9 (diff)
parent4f9742c027ac0d8b3f0a8dd7caf8cf31be6cd698 (diff)
Merge "Fix VVM playback control buttons don’t support TALKBACK"
Diffstat (limited to 'res')
-rw-r--r--res/layout/playback_layout.xml5
-rw-r--r--res/values/strings.xml30
2 files changed, 35 insertions, 0 deletions
diff --git a/res/layout/playback_layout.xml b/res/layout/playback_layout.xml
index 01ed2e919..640daedc5 100644
--- a/res/layout/playback_layout.xml
+++ b/res/layout/playback_layout.xml
@@ -41,6 +41,7 @@
android:layout_height="match_parent"
android:background="?android:attr/selectableItemBackground"
android:src="@drawable/ic_hold_pause"
+ android:contentDescription="@string/description_playback_start_stop"
/>
</LinearLayout>
<LinearLayout
@@ -55,6 +56,7 @@
android:layout_height="match_parent"
android:background="?android:attr/selectableItemBackground"
android:src="@drawable/ic_speakerphone_on"
+ android:contentDescription="@string/description_playback_speakerphone"
/>
</LinearLayout>
</LinearLayout>
@@ -87,6 +89,7 @@
android:layout_marginStart="64dip"
android:max="0"
android:layout_centerVertical="true"
+ android:contentDescription="@string/description_playback_seek"
/>
<TextView
android:id="@+id/playback_position_text"
@@ -117,6 +120,7 @@
android:paddingTop="29dip"
android:layout_alignParentStart="true"
android:layout_centerVertical="true"
+ android:contentDescription="@string/description_rate_decrease"
/>
<ImageButton
android:id="@+id/rate_increase_button"
@@ -128,6 +132,7 @@
android:paddingTop="29dip"
android:layout_alignParentEnd="true"
android:layout_centerVertical="true"
+ android:contentDescription="@string/description_rate_increase"
/>
<View
android:layout_width="match_parent"
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 6cd140c1a..847e0f3f6 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -296,6 +296,36 @@
-->
<string name="description_digits_edittext">number to dial</string>
+ <!-- String describing the button in the voicemail playback to start/stop playback.
+
+ Used by AccessibilityService to announce the purpose of the view.
+ -->
+ <string name="description_playback_start_stop">Play or stop playback</string>
+
+ <!-- String describing the button in the voicemail playback to switch on/off speakerphone.
+
+ Used by AccessibilityService to announce the purpose of the view.
+ -->
+ <string name="description_playback_speakerphone">Switch on or off speakerphone</string>
+
+ <!-- String describing the seekbar in the voicemail playback to seek playback position.
+
+ Used by AccessibilityService to announce the purpose of the view.
+ -->
+ <string name="description_playback_seek">Seek playback position</string>
+
+ <!-- String describing the button in the voicemail playback to decrease playback rate.
+
+ Used by AccessibilityService to announce the purpose of the view.
+ -->
+ <string name="description_rate_decrease">Decrease playback rate</string>
+
+ <!-- String describing the button in the voicemail playback to increase playback rate.
+
+ Used by AccessibilityService to announce the purpose of the view.
+ -->
+ <string name="description_rate_increase">Increase playback rate</string>
+
<!-- Content description for the fake action menu button that brings up the call history
activity -->
<string name="action_menu_call_history_description">Call History</string>