Skip to content
Browse files

Add message button is not titled in "Messaging widget" under lock screen

Bug 7497408

Button now reads as "New message button" by the accessibility voice.

Change-Id: Ice5806812fd11c22b72be6c051add453ca0475c2
  • Loading branch information...
1 parent 38bdb22 commit c67a3c2dc3504c992aa6cc6bedf8f618981c26c8 Tom Taylor committed
Showing with 3 additions and 1 deletion.
  1. +1 −0 res/layout/widget.xml
  2. +2 −1 res/values/strings.xml
View
1 res/layout/widget.xml
@@ -64,6 +64,7 @@
android:layout_height="wrap_content"
android:src="@drawable/ic_menu_msg_compose_holo_dark"
android:background="?android:attr/selectableItemBackground"
+ android:contentDescription="@string/new_message"
android:paddingLeft="4dip"
android:paddingBottom="4dip" />
</LinearLayout>
View
3 res/values/strings.xml
@@ -22,7 +22,8 @@
<!-- The name of the SMS/MMS app as it appears to the user in the Home screen, task switcher, etc. -->
<string name="app_label">Messaging</string>
- <!-- Command name to open a Compose screen; displays in conversation list -->
+ <!-- Command name to open a Compose screen; displays in conversation list.
+ Also used as accessibility text for widget's new message button -->
<string name="new_message">New message</string>
<!-- Context menu item on an individual message for dialing the sender's phone number -->
<string name="menu_call_back">Call <xliff:g id="name">%s</xliff:g></string>

0 comments on commit c67a3c2

Please sign in to comment.
Something went wrong with that request. Please try again.