summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorLeon Scroggins <scroggo@google.com>2010-10-22 17:06:02 -0400
committerLeon Scroggins <scroggo@google.com>2010-10-22 18:00:52 -0400
commitfd2d50e82bba6680e5f6ce0d3802b1579e9fe8de (patch)
tree7966bdf6be34e07a9b23cc139130b7e06332fc96 /core
parent2754b4bde824bfbdc483ad627aaaea87971b053a (diff)
downloadframeworks_base-fd2d50e82bba6680e5f6ce0d3802b1579e9fe8de.zip
frameworks_base-fd2d50e82bba6680e5f6ce0d3802b1579e9fe8de.tar.gz
frameworks_base-fd2d50e82bba6680e5f6ce0d3802b1579e9fe8de.tar.bz2
Provide strings for text selection options in WebView.
Bug:3125023 This is consistent with TextView. Change-Id: Ia9216939f2fe0c73f9dd670c3884518e730f43ed
Diffstat (limited to 'core')
-rw-r--r--core/res/res/menu/webview_copy.xml13
-rwxr-xr-xcore/res/res/values/strings.xml6
2 files changed, 14 insertions, 5 deletions
diff --git a/core/res/res/menu/webview_copy.xml b/core/res/res/menu/webview_copy.xml
index ed223e7..b28c1c1 100644
--- a/core/res/res/menu/webview_copy.xml
+++ b/core/res/res/menu/webview_copy.xml
@@ -17,19 +17,22 @@
<menu xmlns:android="http://schemas.android.com/apk/res/android">
<item android:id="@+id/copy"
android:icon="?android:attr/actionModeCopyDrawable"
- android:showAsAction="always"
+ android:title="@string/copy"
+ android:showAsAction="always|withText"
/>
<item android:id="@+id/share"
android:icon="@drawable/ic_menu_share"
- android:showAsAction="always"
+ android:title="@string/share"
+ android:showAsAction="always|withText"
/>
<item android:id="@+id/select_all"
- android:icon="@drawable/ic_menu_select_all"
- android:showAsAction="always"
+ android:title="@string/selectAll"
+ android:showAsAction="always|withText"
/>
<item android:id="@+id/find"
android:icon="@drawable/ic_menu_find"
- android:showAsAction="always"
+ android:title="@string/find"
+ android:showAsAction="always|withText"
/>
</menu>
diff --git a/core/res/res/values/strings.xml b/core/res/res/values/strings.xml
index edb0819..d5ea09e 100755
--- a/core/res/res/values/strings.xml
+++ b/core/res/res/values/strings.xml
@@ -2415,4 +2415,10 @@
<!-- Text for message for an unknown external media state [CHAR LIMIT=NONE] -->
<string name="media_unknown_state">External media in unknown state.</string>
+ <!-- Text for WebView's text selection Action Mode -->
+ <!-- ActionBar action to share the current selection [CHAR LIMIT=10] -->
+ <string name="share">Share</string>
+ <!-- ActionBar action to use the current selection to open the Find on page functionality [CHAR LIMIT=10]-->
+ <string name="find">Find</string>
+
</resources>