Pankaj Garg | 760e7da | 2014-12-03 11:44:03 -0800 | [diff] [blame^] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (C) 2011 The Android Open Source Project |
| 3 | |
| 4 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | you may not use this file except in compliance with the License. |
| 6 | You may obtain a copy of the License at |
| 7 | |
| 8 | http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | |
| 10 | Unless required by applicable law or agreed to in writing, software |
| 11 | distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | See the License for the specific language governing permissions and |
| 14 | limitations under the License. |
| 15 | --> |
| 16 | |
| 17 | <PreferenceScreen |
| 18 | xmlns:android="http://schemas.android.com/apk/res/android"> |
| 19 | |
| 20 | <CheckBoxPreference android:key="force_userscalable" |
| 21 | android:title="@string/pref_force_userscalable" |
| 22 | android:summary="@string/pref_force_userscalable_summary" |
| 23 | android:defaultValue="false" /> |
| 24 | |
| 25 | <PreferenceCategory android:title="@string/pref_font_size_category"> |
| 26 | <com.android.browser.preferences.FontSizePreview |
| 27 | android:title="@string/preview" /> |
| 28 | <com.android.browser.preferences.SeekBarSummaryPreference |
| 29 | android:key="text_zoom" |
| 30 | android:title="@string/pref_text_zoom" |
| 31 | android:defaultValue="10" |
| 32 | android:max="30" /> |
| 33 | |
| 34 | <!-- SWE - remove double tap zoom from settings. |
| 35 | <com.android.browser.preferences.SeekBarSummaryPreference |
| 36 | android:key="double_tap_zoom" |
| 37 | android:title="@string/pref_zoom_on_double_tap" |
| 38 | android:defaultValue="5" |
| 39 | android:max="10" /> |
| 40 | --> |
| 41 | <com.android.browser.preferences.SeekBarSummaryPreference |
| 42 | android:key="min_font_size" |
| 43 | android:title="@string/pref_min_font_size" |
| 44 | android:defaultValue="0" |
| 45 | android:max="20" /> |
| 46 | </PreferenceCategory> |
| 47 | |
| 48 | <!-- // SWE_TODO: Commenting out inverted rendering settings |
| 49 | <PreferenceCategory android:title="@string/pref_inverted_category"> |
| 50 | |
| 51 | <com.android.browser.preferences.InvertedContrastPreview |
| 52 | android:title="@string/preview" /> |
| 53 | |
| 54 | <CheckBoxPreference |
| 55 | android:key="inverted" |
| 56 | android:defaultValue="false" |
| 57 | android:title="@string/pref_inverted" |
| 58 | android:summary="@string/pref_inverted_summary" /> |
| 59 | |
| 60 | <com.android.browser.preferences.SeekBarSummaryPreference |
| 61 | android:key="inverted_contrast" |
| 62 | android:title="@string/pref_inverted_contrast" |
| 63 | android:dependency="inverted" |
| 64 | android:defaultValue="0" |
| 65 | android:max="20" /> |
| 66 | </PreferenceCategory> |
| 67 | --> |
| 68 | |
| 69 | </PreferenceScreen> |