summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Soulos <psoulos@google.com>2014-09-02 12:48:02 -0700
committerPaul Soulos <psoulos@google.com>2014-09-02 12:48:02 -0700
commit91cdf7d805fae39f1c14a7c052795be9828d1e02 (patch)
tree29222dc38331574051ba0107a5130d26a6c725c6
parentd038b404445ae710991bd74ce90e47f6b7d4732d (diff)
downloadpackages_apps_Contacts-91cdf7d805fae39f1c14a7c052795be9828d1e02.tar.gz
packages_apps_Contacts-91cdf7d805fae39f1c14a7c052795be9828d1e02.tar.bz2
packages_apps_Contacts-91cdf7d805fae39f1c14a7c052795be9828d1e02.zip
Adds content description to the transparent side bars in sw720dp portrait
bug: 17331394 Change-Id: I8a819f92625c32dea0f3da0e40b7587502fc36d2
-rw-r--r--res/layout-sw720dp/quickcontact_activity.xml6
-rw-r--r--res/values/strings.xml2
2 files changed, 5 insertions, 3 deletions
diff --git a/res/layout-sw720dp/quickcontact_activity.xml b/res/layout-sw720dp/quickcontact_activity.xml
index e8fcf5461..efbb4d1eb 100644
--- a/res/layout-sw720dp/quickcontact_activity.xml
+++ b/res/layout-sw720dp/quickcontact_activity.xml
@@ -33,7 +33,8 @@
android:id="@+id/empty_start_column"
android:layout_width="0dp"
android:layout_height="match_parent"
- android:layout_weight="@integer/contact_list_space_layout_weight"/>
+ android:layout_weight="@integer/contact_list_space_layout_weight"
+ android:contentDescription="@string/quickcontact_transparent_view_description" />
<LinearLayout
android:layout_width="0dp"
@@ -62,7 +63,8 @@
android:id="@+id/empty_end_column"
android:layout_width="0dp"
android:layout_height="match_parent"
- android:layout_weight="@integer/contact_list_space_layout_weight"/>
+ android:layout_weight="@integer/contact_list_space_layout_weight"
+ android:contentDescription="@string/quickcontact_transparent_view_description" />
</LinearLayout>
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 02f1daf96..3d3fc36a3 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -317,7 +317,7 @@
<!-- Shown as a toast when the user taps on a QuickContact icon, and no application
was found that could perform the selected action. [CHAR LIMIT=NONE] -->
<string name="quickcontact_missing_app">No app was found to handle this action.</string>
- <!-- Content description for the transparent view above the visible section of QuickContacts.
+ <!-- Content description for the transparent views around the visible section of QuickContacts.
Clicking this view causes Quick Contacts to close. [CHAR LIMIT=NONE] -->
<string name="quickcontact_transparent_view_description">Click to return to previous screen</string>