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 | |
Pankaj Garg | 760e7da | 2014-12-03 11:44:03 -0800 | [diff] [blame] | 20 | <PreferenceCategory android:title="@string/pref_font_size_category"> |
Pankaj Garg | 4cad078 | 2014-12-03 10:00:08 -0800 | [diff] [blame^] | 21 | <com.android.browser.preferences.FontSizePreview android:title="@string/preview" /> |
Pankaj Garg | 760e7da | 2014-12-03 11:44:03 -0800 | [diff] [blame] | 22 | <com.android.browser.preferences.SeekBarSummaryPreference |
Pankaj Garg | 760e7da | 2014-12-03 11:44:03 -0800 | [diff] [blame] | 23 | android:defaultValue="10" |
Pankaj Garg | 4cad078 | 2014-12-03 10:00:08 -0800 | [diff] [blame^] | 24 | android:key="text_zoom" |
| 25 | android:max="30" |
| 26 | android:title="@string/pref_text_zoom" /> |
Pankaj Garg | 760e7da | 2014-12-03 11:44:03 -0800 | [diff] [blame] | 27 | |
Pankaj Garg | 760e7da | 2014-12-03 11:44:03 -0800 | [diff] [blame] | 28 | <com.android.browser.preferences.SeekBarSummaryPreference |
Pankaj Garg | 760e7da | 2014-12-03 11:44:03 -0800 | [diff] [blame] | 29 | android:defaultValue="0" |
Pankaj Garg | 4cad078 | 2014-12-03 10:00:08 -0800 | [diff] [blame^] | 30 | android:key="min_font_size" |
| 31 | android:max="20" |
| 32 | android:title="@string/pref_min_font_size" /> |
| 33 | |
| 34 | <CheckBoxPreference |
| 35 | android:defaultValue="false" |
| 36 | android:key="force_userscalable" |
| 37 | android:summary="@string/pref_force_userscalable_summary" |
| 38 | android:title="@string/pref_force_userscalable" /> |
| 39 | |
| 40 | <ListPreference |
| 41 | android:defaultValue="MEDIUM" |
| 42 | android:dialogTitle="@string/pref_default_zoom_dialogtitle" |
| 43 | android:entries="@array/pref_default_zoom_choices" |
| 44 | android:entryValues="@array/pref_default_zoom_values" |
| 45 | android:key="default_zoom" |
| 46 | android:title="@string/pref_default_zoom" /> |
| 47 | |
Pankaj Garg | 760e7da | 2014-12-03 11:44:03 -0800 | [diff] [blame] | 48 | </PreferenceCategory> |
| 49 | |
| 50 | <!-- // SWE_TODO: Commenting out inverted rendering settings |
| 51 | <PreferenceCategory android:title="@string/pref_inverted_category"> |
| 52 | |
| 53 | <com.android.browser.preferences.InvertedContrastPreview |
| 54 | android:title="@string/preview" /> |
| 55 | |
| 56 | <CheckBoxPreference |
| 57 | android:key="inverted" |
| 58 | android:defaultValue="false" |
| 59 | android:title="@string/pref_inverted" |
| 60 | android:summary="@string/pref_inverted_summary" /> |
| 61 | |
| 62 | <com.android.browser.preferences.SeekBarSummaryPreference |
| 63 | android:key="inverted_contrast" |
| 64 | android:title="@string/pref_inverted_contrast" |
| 65 | android:dependency="inverted" |
| 66 | android:defaultValue="0" |
| 67 | android:max="20" /> |
| 68 | </PreferenceCategory> |
| 69 | --> |
| 70 | |
| 71 | </PreferenceScreen> |