diff options
-rw-r--r-- | res/values/strings.xml | 2 | ||||
-rw-r--r-- | src/com/android/browser/BreadCrumbView.java | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/res/values/strings.xml b/res/values/strings.xml index ff396ce..5720410 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -1008,5 +1008,7 @@ <!-- Content description for tab switcher transition [CHAR LIMIT=NONE] --> <string name="accessibility_transition_navscreen">Tab management</string> + <!-- Content description for navigating up in the bookmark folder hierarchy [CHAR LIMIT=NONE] --> + <string name="accessibility_button_bookmarks_folder_up">Previous folder</string> </resources> diff --git a/src/com/android/browser/BreadCrumbView.java b/src/com/android/browser/BreadCrumbView.java index aa77744..d331b53 100644 --- a/src/com/android/browser/BreadCrumbView.java +++ b/src/com/android/browser/BreadCrumbView.java @@ -179,6 +179,8 @@ public class BreadCrumbView extends LinearLayout implements OnClickListener { LayoutParams.MATCH_PARENT)); mBackButton.setOnClickListener(this); mBackButton.setVisibility(View.GONE); + mBackButton.setContentDescription(mContext.getText( + R.string.accessibility_button_bookmarks_folder_up)); addView(mBackButton, 0); } |