diff options
author | Ben Gilad <gilad@google.com> | 2013-10-04 15:39:40 -0700 |
---|---|---|
committer | Ben Gilad <gilad@google.com> | 2013-10-04 16:42:00 -0700 |
commit | 69f67d00a13279c010d2dde4414a0600dff99294 (patch) | |
tree | 01e188f9b89ea88a8d061f33b041afa01993cf63 /res | |
parent | 96d423b27ffeb7fed25350540f5d481519fb22b2 (diff) | |
download | packages_apps_Contacts-69f67d00a13279c010d2dde4414a0600dff99294.tar.gz packages_apps_Contacts-69f67d00a13279c010d2dde4414a0600dff99294.tar.bz2 packages_apps_Contacts-69f67d00a13279c010d2dde4414a0600dff99294.zip |
Add missing contentDescription tags.
bug: 11067808
Change-Id: Ib4032f3ca93635e02ab328e9dc7be7a5b4596e6e
Diffstat (limited to 'res')
-rw-r--r-- | res/layout/quickcontact_photo_container.xml | 12 | ||||
-rw-r--r-- | res/values/strings.xml | 4 |
2 files changed, 9 insertions, 7 deletions
diff --git a/res/layout/quickcontact_photo_container.xml b/res/layout/quickcontact_photo_container.xml index 409b16ec3..723665f31 100644 --- a/res/layout/quickcontact_photo_container.xml +++ b/res/layout/quickcontact_photo_container.xml @@ -25,7 +25,8 @@ android:layout_width="match_parent" android:layout_height="match_parent" android:scaleType="centerCrop" - android:clickable="true" /> + android:clickable="true" + android:contentDescription="@string/description_contact_photo" /> <View android:layout_width="match_parent" android:layout_height="1dip" @@ -40,11 +41,10 @@ android:layout_alignRight="@id/photo" android:layout_alignStart="@id/photo" android:layout_alignEnd="@id/photo" - android:background="@color/quickcontact_name_detail_background"/> + android:background="@color/quickcontact_name_detail_background" /> <ImageView android:id="@+id/contact_details_image" android:src="@drawable/ic_contacts_holo_dark" - android:contentDescription="@null" android:layout_height="wrap_content" android:layout_width="wrap_content" android:layout_marginRight="16dip" @@ -53,7 +53,8 @@ android:layout_alignBottom="@id/photo_text_bar" android:layout_alignRight="@id/photo_text_bar" android:layout_alignEnd="@id/photo_text_bar" - android:clickable="true"/> + android:clickable="true" + android:contentDescription="@string/viewContactDesription" /> <ImageView android:id="@+id/quickcontact_star_button" android:src="@drawable/ic_favorite_off_lt" @@ -65,7 +66,8 @@ android:layout_alignBottom="@id/photo_text_bar" android:layout_toLeftOf="@id/contact_details_image" android:layout_toStartOf="@id/contact_details_image" - android:clickable="true"/> + android:clickable="true" + android:contentDescription="@string/menu_addStar" /> <TextView android:id="@+id/name" android:layout_width="match_parent" diff --git a/res/values/strings.xml b/res/values/strings.xml index 832660380..dd0406b79 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -451,10 +451,10 @@ <!-- The button to add an organization field to a contact in the Raw Contact Editor [CHAR LIMIT=15] --> <string name="group_edit_field_hint_text">Group name</string> - <!-- Attbution of a contact status update, when the time of update is unknown --> + <!-- Attribution of a contact status update, when the time of update is unknown --> <string name="contact_status_update_attribution">via <xliff:g id="source" example="Google Talk">%1$s</xliff:g></string> - <!-- Attbution of a contact status update, when the time of update is known --> + <!-- Attribution of a contact status update, when the time of update is known --> <string name="contact_status_update_attribution_with_date"><xliff:g id="date" example="3 hours ago">%1$s</xliff:g> via <xliff:g id="source" example="Google Talk">%2$s</xliff:g></string> <!-- String describing the Star/Favorite checkbox |