summaryrefslogtreecommitdiffstats
path: root/res/xml
diff options
context:
space:
mode:
authorJohn Reck <jreck@google.com>2011-04-20 15:31:13 -0700
committerJohn Reck <jreck@google.com>2011-04-21 18:01:44 -0700
commit40badf29facf6b5ca894a092062cc27897d2b434 (patch)
tree083699669acc539e30aa2e8b0ccd447eb1b5ddd9 /res/xml
parentfedb492d1ac1068e17028b6d4083d1a6b0578287 (diff)
downloadandroid_packages_apps_Gello-40badf29facf6b5ca894a092062cc27897d2b434.tar.gz
android_packages_apps_Gello-40badf29facf6b5ca894a092062cc27897d2b434.tar.bz2
android_packages_apps_Gello-40badf29facf6b5ca894a092062cc27897d2b434.zip
Add minimum font size support
Change-Id: I2dc092f7484ff63ce90f15c2c46c7029c84265e8
Diffstat (limited to 'res/xml')
-rw-r--r--res/xml/accessibility_preferences.xml35
-rw-r--r--res/xml/advanced_preferences.xml7
-rw-r--r--res/xml/preference_headers.xml4
3 files changed, 39 insertions, 7 deletions
diff --git a/res/xml/accessibility_preferences.xml b/res/xml/accessibility_preferences.xml
new file mode 100644
index 00000000..368d909e
--- /dev/null
+++ b/res/xml/accessibility_preferences.xml
@@ -0,0 +1,35 @@
+<?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.
+-->
+
+<PreferenceScreen
+ xmlns:android="http://schemas.android.com/apk/res/android">
+
+ <com.android.browser.preferences.WebViewPreview />
+
+ <ListPreference
+ android:key="text_size"
+ android:title="@string/pref_text_size"
+ android:defaultValue="NORMAL"
+ android:entries="@array/pref_text_size_choices"
+ android:entryValues="@array/pref_text_size_values"
+ android:dialogTitle="@string/pref_text_size_dialogtitle" />
+
+ <com.android.browser.preferences.MinFontSizePreference
+ android:key="min_font_size"
+ android:title="@string/pref_min_font_size"
+ android:defaultValue="1" />
+
+</PreferenceScreen>
diff --git a/res/xml/advanced_preferences.xml b/res/xml/advanced_preferences.xml
index 3264d221..4a2823e0 100644
--- a/res/xml/advanced_preferences.xml
+++ b/res/xml/advanced_preferences.xml
@@ -50,13 +50,6 @@
android:summary="@string/pref_extras_website_settings_summary" />
<PreferenceCategory android:title="@string/pref_content_title">
- <ListPreference
- android:key="text_size"
- android:title="@string/pref_text_size"
- android:defaultValue="NORMAL"
- android:entries="@array/pref_text_size_choices"
- android:entryValues="@array/pref_text_size_values"
- android:dialogTitle="@string/pref_text_size_dialogtitle" />
<ListPreference
android:key="default_zoom"
diff --git a/res/xml/preference_headers.xml b/res/xml/preference_headers.xml
index cdf259c8..e58b90ab 100644
--- a/res/xml/preference_headers.xml
+++ b/res/xml/preference_headers.xml
@@ -24,6 +24,10 @@
android:title="@string/pref_privacy_security_title"
/>
+ <header android:fragment="com.android.browser.preferences.AccessibilityPreferencesFragment"
+ android:title="@string/pref_accessibility_title"
+ />
+
<header android:fragment="com.android.browser.preferences.AdvancedPreferencesFragment"
android:title="@string/pref_extras_title"
/>