Home | History | Annotate | Download | only in xml
      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 
     29         <com.android.browser.preferences.SeekBarSummaryPreference
     30             android:key="text_zoom"
     31             android:title="@string/pref_text_zoom"
     32             android:defaultValue="10"
     33             android:max="30" />
     34 
     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 
     47     </PreferenceCategory>
     48 
     49     <PreferenceCategory android:title="@string/pref_inverted_category">
     50         <com.android.browser.preferences.InvertedContrastPreview
     51             android:title="@string/preview" />
     52 
     53         <CheckBoxPreference
     54             android:key="inverted"
     55             android:defaultValue="false"
     56             android:title="@string/pref_inverted"
     57             android:summary="@string/pref_inverted_summary" />
     58 
     59         <com.android.browser.preferences.SeekBarSummaryPreference
     60             android:key="inverted_contrast"
     61             android:title="@string/pref_inverted_contrast"
     62             android:dependency="inverted"
     63             android:defaultValue="0"
     64             android:max="20" />
     65 
     66     </PreferenceCategory>
     67 
     68 </PreferenceScreen>
     69