diff options
author | HUANG Menghuai <menghuai.huang@orange.com> | 2013-08-21 15:04:25 +0800 |
---|---|---|
committer | HUANG Menghuai <menghuai.huang@orange.com> | 2014-01-16 12:26:42 +0800 |
commit | 4f9742c027ac0d8b3f0a8dd7caf8cf31be6cd698 (patch) | |
tree | dc13ac242d13759fea620336e6040c10841264ac | |
parent | dc372cc7464e7869e6ca0caed6a81bd53e43a6e1 (diff) |
Fix VVM playback control buttons don’t support TALKBACK
Change-Id: Ie1f81a4eaacc85bcab6fd3b32f081e83a4c36467
Signed-off-by: HUANG Menghuai <menghuai.huang@orange.com>
-rw-r--r-- | res/layout/playback_layout.xml | 5 | ||||
-rw-r--r-- | res/values/strings.xml | 30 |
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 55cdea4de..5b1c293ba 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> |