diff options
author | Michael Kolb <kolby@google.com> | 2011-07-29 13:37:05 -0700 |
---|---|---|
committer | Michael Kolb <kolby@google.com> | 2011-07-29 15:03:46 -0700 |
commit | 30adae6ebf17a724d24066a200432e6b22a4eeff (patch) | |
tree | a16abcb20629633f894e4e7aa4c38dca5ae73c8a /src/com/android/browser/NavScreen.java | |
parent | 1b9353cbf59678721d48313cb92189a1530f0483 (diff) | |
download | packages_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 'src/com/android/browser/NavScreen.java')
-rw-r--r-- | src/com/android/browser/NavScreen.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/com/android/browser/NavScreen.java b/src/com/android/browser/NavScreen.java index a361136..9c12ccf 100644 --- a/src/com/android/browser/NavScreen.java +++ b/src/com/android/browser/NavScreen.java @@ -111,6 +111,8 @@ public class NavScreen extends RelativeLayout private void init() { LayoutInflater.from(mContext).inflate(R.layout.nav_screen, this); + setContentDescription(mContext.getResources().getString( + R.string.accessibility_transition_navscreen)); mBookmarks = (ImageButton) findViewById(R.id.bookmarks); mNewTab = (ImageButton) findViewById(R.id.newtab); mNewIncognito = (ImageButton) findViewById(R.id.newincognito); |