summaryrefslogtreecommitdiffstats
path: root/res/layout/nav_screen.xml
diff options
context:
space:
mode:
authorMichael Kolb <kolby@google.com>2011-07-29 13:37:05 -0700
committerMichael Kolb <kolby@google.com>2011-07-29 15:03:46 -0700
commit30adae6ebf17a724d24066a200432e6b22a4eeff (patch)
treea16abcb20629633f894e4e7aa4c38dca5ae73c8a /res/layout/nav_screen.xml
parent1b9353cbf59678721d48313cb92189a1530f0483 (diff)
downloadpackages_apps_Browser-30adae6ebf17a724d24066a200432e6b22a4eeff.zip
packages_apps_Browser-30adae6ebf17a724d24066a200432e6b22a4eeff.tar.gz
packages_apps_Browser-30adae6ebf17a724d24066a200432e6b22a4eeff.tar.bz2
add accessibility descriptions/events
Bug: 4979091 added content descriptions to the image buttons send event for screen transition Change-Id: I403fe8504cace4aa84a5b1c6ca18f6c10fc9be34
Diffstat (limited to 'res/layout/nav_screen.xml')
-rw-r--r--res/layout/nav_screen.xml4
1 files changed, 4 insertions, 0 deletions
diff --git a/res/layout/nav_screen.xml b/res/layout/nav_screen.xml
index b4e1f15..8ff4be3 100644
--- a/res/layout/nav_screen.xml
+++ b/res/layout/nav_screen.xml
@@ -41,6 +41,7 @@
android:paddingRight="16dip"
style="@style/HoloButton"
android:gravity="center_vertical"
+ android:contentDescription="@string/accessibility_button_newtab"
android:src="@drawable/ic_new_window_holo_dark" />
<ImageButton
android:id="@+id/newincognito"
@@ -50,6 +51,7 @@
android:paddingRight="16dip"
style="@style/HoloButton"
android:gravity="center_vertical"
+ android:contentDescription="@string/accessibility_button_newincognitotab"
android:src="@drawable/ic_new_incognito_holo_dark" />
<ImageButton
android:id="@+id/bookmarks"
@@ -57,6 +59,7 @@
android:layout_height="match_parent"
android:paddingLeft="16dip"
android:paddingRight="16dip"
+ android:contentDescription="@string/accessibility_button_bookmarks"
android:src="@drawable/ic_bookmarks_history_holo_dark"
style="@style/HoloButton" />
<ImageButton
@@ -67,6 +70,7 @@
android:paddingRight="16dip"
style="@style/HoloButton"
android:gravity="center_vertical"
+ android:contentDescription="@string/accessibility_button_more"
android:src="@*android:drawable/ic_menu_moreoverflow_normal_holo_dark" />
</LinearLayout>
</RelativeLayout>