diff options
author | Nicolas Roard <nicolasroard@google.com> | 2011-08-03 15:35:34 -0700 |
---|---|---|
committer | Nicolas Roard <nicolasroard@google.com> | 2011-08-03 17:16:45 -0700 |
commit | 5d513105dff9f453872be40f8bed2391396cf9c7 (patch) | |
tree | b05ba91367438b07644dc4d136aa6c54bce5c4a8 /res/xml | |
parent | 7cff891f31311139e215e3948198843bcafd6137 (diff) | |
download | packages_apps_Browser-5d513105dff9f453872be40f8bed2391396cf9c7.zip packages_apps_Browser-5d513105dff9f453872be40f8bed2391396cf9c7.tar.gz packages_apps_Browser-5d513105dff9f453872be40f8bed2391396cf9c7.tar.bz2 |
Move inverted mode to Accessibility settings
Add contrast settings
bug:5111259
Change-Id: Ic95e1fbae94c01fc8560cbd326503244b9ab4988
Diffstat (limited to 'res/xml')
-rw-r--r-- | res/xml/accessibility_preferences.xml | 16 | ||||
-rw-r--r-- | res/xml/lab_preferences.xml | 5 |
2 files changed, 16 insertions, 5 deletions
diff --git a/res/xml/accessibility_preferences.xml b/res/xml/accessibility_preferences.xml index a7124f4..db5a539 100644 --- a/res/xml/accessibility_preferences.xml +++ b/res/xml/accessibility_preferences.xml @@ -40,4 +40,20 @@ </PreferenceCategory> + <PreferenceCategory android:title="@string/pref_inverted_category"> + + <CheckBoxPreference + android:key="inverted" + android:defaultValue="false" + android:title="@string/pref_inverted" + android:summary="@string/pref_inverted_summary" /> + + <com.android.browser.preferences.FontSizePreference + android:key="inverted_contrast" + android:title="@string/pref_inverted_contrast" + android:defaultValue="0" + android:max="20" /> + + </PreferenceCategory> + </PreferenceScreen> diff --git a/res/xml/lab_preferences.xml b/res/xml/lab_preferences.xml index a3de6ca..3320cee 100644 --- a/res/xml/lab_preferences.xml +++ b/res/xml/lab_preferences.xml @@ -26,9 +26,4 @@ android:defaultValue="false" android:title="@string/pref_lab_fullscreen" android:summary="@string/pref_lab_fullscreen_summary" /> - <CheckBoxPreference - android:key="inverted" - android:defaultValue="false" - android:title="@string/pref_lab_inverted" - android:summary="@string/pref_lab_inverted_summary" /> </PreferenceScreen> |