diff options
author | John Reck <jreck@google.com> | 2011-06-17 17:43:12 -0700 |
---|---|---|
committer | John Reck <jreck@google.com> | 2011-06-17 17:54:39 -0700 |
commit | b6f83376eaf0766a8e5aa6eeb06976f463f37ea0 (patch) | |
tree | 7ab3ba8dc6054c3df2320bb3f720bede06bf3c89 /res | |
parent | d81500c9a8cc733da2c916dddd1bfa3c0ba2c05e (diff) | |
download | packages_apps_Browser-b6f83376eaf0766a8e5aa6eeb06976f463f37ea0.zip packages_apps_Browser-b6f83376eaf0766a8e5aa6eeb06976f463f37ea0.tar.gz packages_apps_Browser-b6f83376eaf0766a8e5aa6eeb06976f463f37ea0.tar.bz2 |
Fix dual-bar action bar in bookmarks
Change-Id: I212264144a5938ea2eb9e04c0c8471b911c38765
Diffstat (limited to 'res')
-rw-r--r-- | res/menu-w500dp/bookmark.xml | 40 | ||||
-rw-r--r-- | res/menu/bookmark.xml | 7 | ||||
-rw-r--r-- | res/values/strings.xml | 2 |
3 files changed, 45 insertions, 4 deletions
diff --git a/res/menu-w500dp/bookmark.xml b/res/menu-w500dp/bookmark.xml new file mode 100644 index 0000000..a951373 --- /dev/null +++ b/res/menu-w500dp/bookmark.xml @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2011 The Android Open Source Project + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + +<menu xmlns:android="http://schemas.android.com/apk/res/android"> + <item + android:id="@+id/add_bookmark" + android:icon="@drawable/ic_bookmark_off_holo_dark" + android:title="@string/add_new_bookmark" + android:showAsAction="always" /> + <item + android:id="@+id/go_home" + android:icon="@drawable/ic_home_holo_dark" + android:showAsAction="always" /> + <item + android:id="@+id/thumbnail_view" + android:title="@string/bookmark_thumbnail_view" + android:icon="@drawable/ic_thumbnail_view_holo_dark" /> + <item + android:id="@+id/list_view" + android:title="@string/bookmark_list_view" + android:icon="@drawable/ic_list_view_holo_dark" /> + <item + android:id="@+id/preferences_menu_id" + android:title="@string/menu_preferences" + android:icon="@drawable/ic_settings_holo_dark" + android:alphabeticShortcut="p" /> +</menu> diff --git a/res/menu/bookmark.xml b/res/menu/bookmark.xml index 3d248b4..eee1706 100644 --- a/res/menu/bookmark.xml +++ b/res/menu/bookmark.xml @@ -18,12 +18,11 @@ <item android:id="@+id/add_bookmark" android:icon="@drawable/ic_bookmark_off_holo_dark" - android:title="@string/add_new_bookmark" - android:showAsAction="always" /> + android:title="@string/add_new_bookmark" /> <item android:id="@+id/go_home" - android:icon="@drawable/ic_home_holo_dark" - android:showAsAction="always" /> + android:title="@string/go_home" + android:icon="@drawable/ic_home_holo_dark" /> <item android:id="@+id/thumbnail_view" android:title="@string/bookmark_thumbnail_view" diff --git a/res/values/strings.xml b/res/values/strings.xml index 8df4642..34ca824 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -680,6 +680,8 @@ <string name="browser_history">Recently visited pages</string> <!-- Appears on History screen if no history is found --> <string name="empty_history">Browser history is empty.</string> + <!-- Menu option to load the user's home page [CHAR LIMIT=30] --> + <string name="go_home">Home</string> <!-- Displayed at the top of the bookmarks page. When clicked, it bookmarks the page the browser is currently showing --> <string name="add_new_bookmark">Add bookmark\u2026</string> <!-- Verb placed in front of a screenshot of a web page that, when clicked, |