summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorJohn Reck <jreck@google.com>2011-04-26 16:57:10 -0700
committerJohn Reck <jreck@google.com>2011-04-26 17:58:33 -0700
commit92f25f806c50bb08de80e1e6741b9852e105b8d9 (patch)
tree9f6e9f007af1f464a63536b332d07c91964bcafc /res
parent7b06c907aa31c38069ec2718bd4a388f1f801e6f (diff)
downloadpackages_apps_Browser-92f25f806c50bb08de80e1e6741b9852e105b8d9.zip
packages_apps_Browser-92f25f806c50bb08de80e1e6741b9852e105b8d9.tar.gz
packages_apps_Browser-92f25f806c50bb08de80e1e6741b9852e105b8d9.tar.bz2
Add an option to forceably override user-scalable
Change-Id: I48e0fb0c3472ee51fc907f5b0d307a64400cfe36
Diffstat (limited to 'res')
-rw-r--r--res/values/strings.xml4
-rw-r--r--res/xml/accessibility_preferences.xml5
2 files changed, 9 insertions, 0 deletions
diff --git a/res/values/strings.xml b/res/values/strings.xml
index c30eea8..ad960b1 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -525,6 +525,10 @@
</string-array>
<!-- Label for minimum font size [CHAR LIMIT=30] -->
<string name="pref_min_font_size">Minimum font size</string>
+ <!-- Label for whether or not to force-enable user scalablity (aka, zoom) [CHAR LIMIT=30] -->
+ <string name="pref_force_userscalable">Force enable zoom</string>
+ <!-- Summary for whether or not to force-enable user scalablity (aka, zoom) [CHAR LIMIT=30] -->
+ <string name="pref_force_userscalable_summary">Whether or not to override a website\'s request to control zoom behavior</string>
<!-- Settings label -->
<string name="pref_default_zoom">Default zoom</string>
<!-- Settings default zoom options; appear in default zoom dialog box -->
diff --git a/res/xml/accessibility_preferences.xml b/res/xml/accessibility_preferences.xml
index 368d909..799d0e2 100644
--- a/res/xml/accessibility_preferences.xml
+++ b/res/xml/accessibility_preferences.xml
@@ -32,4 +32,9 @@
android:title="@string/pref_min_font_size"
android:defaultValue="1" />
+ <CheckBoxPreference android:key="force_userscalable"
+ android:title="@string/pref_force_userscalable"
+ android:summary="@string/pref_force_userscalable_summary"
+ android:defaultValue="false" />
+
</PreferenceScreen>