blob: 506a9ed2b70f626d1e6fe939cb15dd9f448f7038 [file] [log] [blame]
Pankaj Garg760e7da2014-12-03 11:44:03 -08001<?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 Garg32e1b942015-06-03 18:13:24 -070020 <PreferenceCategory
21 android:layout="@layout/swe_preference_category_first"
22 android:title="@string/pref_font_size_category">
Pankaj Garg4cad0782014-12-03 10:00:08 -080023 <com.android.browser.preferences.FontSizePreview android:title="@string/preview" />
Pankaj Garg760e7da2014-12-03 11:44:03 -080024 <com.android.browser.preferences.SeekBarSummaryPreference
Pankaj Garg760e7da2014-12-03 11:44:03 -080025 android:defaultValue="10"
Pankaj Garg4cad0782014-12-03 10:00:08 -080026 android:key="text_zoom"
27 android:max="30"
28 android:title="@string/pref_text_zoom" />
Pankaj Garg760e7da2014-12-03 11:44:03 -080029
Pankaj Garg760e7da2014-12-03 11:44:03 -080030 <com.android.browser.preferences.SeekBarSummaryPreference
Pankaj Garg760e7da2014-12-03 11:44:03 -080031 android:defaultValue="0"
Pankaj Garg4cad0782014-12-03 10:00:08 -080032 android:key="min_font_size"
33 android:max="20"
34 android:title="@string/pref_min_font_size" />
35
Pankaj Garg32e1b942015-06-03 18:13:24 -070036 <SwitchPreference
Pankaj Garg4cad0782014-12-03 10:00:08 -080037 android:defaultValue="false"
38 android:key="force_userscalable"
39 android:summary="@string/pref_force_userscalable_summary"
40 android:title="@string/pref_force_userscalable" />
Pankaj Garg760e7da2014-12-03 11:44:03 -080041 </PreferenceCategory>
42
43 <!-- // SWE_TODO: Commenting out inverted rendering settings
44 <PreferenceCategory android:title="@string/pref_inverted_category">
45
46 <com.android.browser.preferences.InvertedContrastPreview
47 android:title="@string/preview" />
48
49 <CheckBoxPreference
50 android:key="inverted"
51 android:defaultValue="false"
52 android:title="@string/pref_inverted"
53 android:summary="@string/pref_inverted_summary" />
54
55 <com.android.browser.preferences.SeekBarSummaryPreference
56 android:key="inverted_contrast"
57 android:title="@string/pref_inverted_contrast"
58 android:dependency="inverted"
59 android:defaultValue="0"
60 android:max="20" />
61 </PreferenceCategory>
62 -->
63
64</PreferenceScreen>