Home | History | Annotate | Download | only in xml
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!-- Copyright (C) 2009 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 xmlns:android="http://schemas.android.com/apk/res/android"
     18         xmlns:settings="http://schemas.android.com/apk/res/com.android.settings"
     19         android:title="@string/accessibility_settings_title">
     20 
     21     <PreferenceCategory
     22             android:key="services_category"
     23             android:title="@string/accessibility_services_title">
     24     </PreferenceCategory>
     25 
     26     <PreferenceCategory
     27             android:key="system_category"
     28             android:title="@string/accessibility_system_title">
     29 
     30         <CheckBoxPreference
     31                 android:key="toggle_large_text_preference"
     32                 android:title="@string/accessibility_toggle_large_text_title"
     33                 android:persistent="false"
     34                 android:order="1"/>
     35 
     36         <CheckBoxPreference
     37                 android:key="toggle_power_button_ends_call_preference"
     38                 android:title="@string/accessibility_power_button_ends_call_title"
     39                 android:persistent="false"
     40                 android:order="2"/>
     41 
     42         <CheckBoxPreference
     43                 android:key="toggle_auto_rotate_screen_preference"
     44                 android:title="@string/accelerometer_title"
     45                 android:persistent="false"
     46                 android:order="3"/>
     47 
     48         <PreferenceScreen
     49                 android:key="toggle_touch_exploration_preference"
     50                 android:title="@string/accessibility_touch_exploration_title"
     51                 android:fragment="com.android.settings.AccessibilitySettings$ToggleTouchExplorationFragment"
     52                 android:order="4" >
     53                 <extra android:name="title" android:value="@string/accessibility_touch_exploration_title" />
     54                 <extra android:name="summary" android:value="@string/accessibility_touch_exploration_summary" />
     55                 <extra android:name="enable_warning_title" android:value="@android:string/dialog_alert_title" />
     56                 <extra android:name="enable_warning_message" android:value="@string/accessibility_touch_exploration_warning" />
     57                 <extra android:name="settings_title" android:value="@string/accessibility_menu_item_tutorial" />
     58                 <extra android:name="settings_component_name" android:value="com.android.settings/com.android.settings.AccessibilityTutorialActivity" />
     59         </PreferenceScreen>
     60 
     61         <ListPreference android:key="select_long_press_timeout_preference"
     62                 android:title="@string/accessibility_long_press_timeout_title"
     63                 android:entries="@array/long_press_timeout_selector_titles"
     64                 android:entryValues="@array/long_press_timeout_selector_values"
     65                 android:persistent="false"
     66                 android:order="5"/>
     67 
     68         <com.android.settings.AccessibilityEnableScriptInjectionPreference
     69                 android:key="toggle_script_injection_preference"
     70                 android:title="@string/accessibility_script_injection_title"
     71                 android:dialogTitle="@string/accessibility_script_injection_security_warning_title"
     72                 android:dialogIcon="@android:drawable/ic_dialog_alert"
     73                 android:dialogMessage="@string/accessibility_script_injection_security_warning_summary"
     74                 android:positiveButtonText="@string/accessibility_script_injection_button_allow"
     75                 android:negativeButtonText="@string/accessibility_script_injection_button_disallow"
     76                 android:persistent="false"
     77                 android:order="6"/>
     78 
     79     </PreferenceCategory>
     80 
     81 </PreferenceScreen>
     82