summaryrefslogtreecommitdiffstats
path: root/res/layout
diff options
context:
space:
mode:
authorBen Gilad <gilad@google.com>2013-10-04 15:39:40 -0700
committerBen Gilad <gilad@google.com>2013-10-04 16:42:00 -0700
commit69f67d00a13279c010d2dde4414a0600dff99294 (patch)
tree01e188f9b89ea88a8d061f33b041afa01993cf63 /res/layout
parent96d423b27ffeb7fed25350540f5d481519fb22b2 (diff)
downloadpackages_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/layout')
-rw-r--r--res/layout/quickcontact_photo_container.xml12
1 files changed, 7 insertions, 5 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"