diff options
author | John Reck <jreck@google.com> | 2011-08-08 13:24:13 -0700 |
---|---|---|
committer | John Reck <jreck@google.com> | 2011-08-08 14:42:36 -0700 |
commit | eabe5dabe4e56a78c5d6cf99e6f171452bad2f23 (patch) | |
tree | 9930be96d35ee3c39c7ed5e29349b7070b756faf /res/xml | |
parent | e28b347fcc1df6e6bd41cb294d521a4f1e7c5c75 (diff) | |
download | packages_apps_Browser-eabe5dabe4e56a78c5d6cf99e6f171452bad2f23.zip packages_apps_Browser-eabe5dabe4e56a78c5d6cf99e6f171452bad2f23.tar.gz packages_apps_Browser-eabe5dabe4e56a78c5d6cf99e6f171452bad2f23.tar.bz2 |
Add preview for contrast
Bug: 5135321
Bug: 5118011
Add a preview for the contrast accisibility settings.
Rename FontSizePreference to the more generic SeekBarSummaryPreference
as it has nothing to do with font size specifically.
Change-Id: Id516d63d62822cf026af3ce531ec33eb48ae667a
Diffstat (limited to 'res/xml')
-rw-r--r-- | res/xml/accessibility_preferences.xml | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/res/xml/accessibility_preferences.xml b/res/xml/accessibility_preferences.xml index db5a539..ac96e6e 100644 --- a/res/xml/accessibility_preferences.xml +++ b/res/xml/accessibility_preferences.xml @@ -23,16 +23,16 @@ android:defaultValue="false" /> <PreferenceCategory android:title="@string/pref_font_size_category"> - <com.android.browser.preferences.WebViewPreview + <com.android.browser.preferences.FontSizePreview android:title="@string/preview" /> - <com.android.browser.preferences.FontSizePreference + <com.android.browser.preferences.SeekBarSummaryPreference android:key="text_zoom" android:title="@string/pref_text_zoom" android:defaultValue="10" android:max="30" /> - <com.android.browser.preferences.FontSizePreference + <com.android.browser.preferences.SeekBarSummaryPreference android:key="min_font_size" android:title="@string/pref_min_font_size" android:defaultValue="0" @@ -41,6 +41,8 @@ </PreferenceCategory> <PreferenceCategory android:title="@string/pref_inverted_category"> + <com.android.browser.preferences.InvertedContrastPreview + android:title="@string/preview" /> <CheckBoxPreference android:key="inverted" @@ -48,9 +50,10 @@ android:title="@string/pref_inverted" android:summary="@string/pref_inverted_summary" /> - <com.android.browser.preferences.FontSizePreference + <com.android.browser.preferences.SeekBarSummaryPreference android:key="inverted_contrast" android:title="@string/pref_inverted_contrast" + android:dependency="inverted" android:defaultValue="0" android:max="20" /> |