summaryrefslogtreecommitdiffstats
path: root/res/layout-xlarge
diff options
context:
space:
mode:
authorWinson Chung <winsonc@google.com>2011-04-13 15:09:01 -0700
committerWinson Chung <winsonc@google.com>2011-04-14 13:07:45 -0700
commit20ac28bacc93418f36563a563dc6a44cf014e840 (patch)
treeb00b29560bf5da815e2fe2027e3757ab8275a3af /res/layout-xlarge
parent49f3c8e34bfa42de60bb38f64024747d6d944bda (diff)
downloadandroid_packages_apps_Trebuchet-20ac28bacc93418f36563a563dc6a44cf014e840.tar.gz
android_packages_apps_Trebuchet-20ac28bacc93418f36563a563dc6a44cf014e840.tar.bz2
android_packages_apps_Trebuchet-20ac28bacc93418f36563a563dc6a44cf014e840.zip
Adding content descriptions for items in the button bar.
Change-Id: Ibf140f80e0499777f5671cb306ead429888792ba
Diffstat (limited to 'res/layout-xlarge')
-rw-r--r--res/layout-xlarge/button_bar.xml15
1 files changed, 9 insertions, 6 deletions
diff --git a/res/layout-xlarge/button_bar.xml b/res/layout-xlarge/button_bar.xml
index 618f4e5ac..62115f786 100644
--- a/res/layout-xlarge/button_bar.xml
+++ b/res/layout-xlarge/button_bar.xml
@@ -34,7 +34,8 @@
android:onClick="onClickSearchButton"
android:focusable="true"
- android:clickable="true" />
+ android:clickable="true"
+ android:contentDescription="@string/accessibility_search_button" />
<ImageView
android:id="@+id/search_divider"
@@ -64,7 +65,8 @@
android:onClick="onClickVoiceButton"
android:focusable="true"
- android:clickable="true"/>
+ android:clickable="true"
+ android:contentDescription="@string/accessibility_voice_search_button" />
<!-- AllApps icon -->
<com.android.launcher2.StrokedTextView
@@ -79,7 +81,7 @@
android:paddingRight="@dimen/toolbar_button_horizontal_padding"
android:paddingTop="@dimen/all_apps_button_vertical_padding"
android:paddingBottom="@dimen/all_apps_button_vertical_padding"
- android:background="@drawable/button_bg"
+ android:background="@drawable/button_bg"
android:gravity="center_horizontal|center_vertical"
android:textColor="#CCFFFFFF"
@@ -95,7 +97,8 @@
android:shadowRadius="2.5"
android:focusable="true"
- android:clickable="true" />
+ android:clickable="true"
+ android:contentDescription="@string/accessibility_all_apps_button" />
<ImageView
android:id="@+id/all_apps_divider"
@@ -123,7 +126,7 @@
android:paddingBottom="@dimen/toolbar_button_vertical_padding"
android:background="@drawable/button_bg"
android:focusable="true"
- />
+ android:contentDescription="@string/accessibility_customize_button" />
<!-- Delete icon -->
<com.android.launcher2.DeleteZone
@@ -152,5 +155,5 @@
launcher:direction="horizontal"
android:focusable="true"
- />
+ android:contentDescription="@string/accessibility_delete_button" />
</RelativeLayout>