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 
     35         <CheckBoxPreference
     36                 android:key="toggle_power_button_ends_call_preference"
     37                 android:title="@string/accessibility_power_button_ends_call_title"
     38                 android:persistent="false"/>
     39 
     40         <CheckBoxPreference
     41                 android:key="toggle_lock_screen_rotation_preference"
     42                 android:title="@string/accelerometer_title"
     43                 android:persistent="false"/>
     44 
     45         <CheckBoxPreference
     46                 android:key="toggle_speak_password_preference"
     47                 android:title="@string/accessibility_speak_password_title"
     48                 android:persistent="false"/>
     49 
     50         <PreferenceScreen android:key="tts_settings"
     51                 android:fragment="com.android.settings.tts.TextToSpeechSettings"
     52                 android:title="@string/tts_settings_title" />
     53 
     54         <ListPreference android:key="select_long_press_timeout_preference"
     55                 android:title="@string/accessibility_long_press_timeout_title"
     56                 android:entries="@array/long_press_timeout_selector_titles"
     57                 android:entryValues="@array/long_press_timeout_selector_values"
     58                 android:persistent="false"/>
     59 
     60         <!-- We want a dialog with no title, so use an empty string to avoid a fall back to the preference title. -->
     61         <com.android.settings.AccessibilityEnableScriptInjectionPreference
     62                 android:key="toggle_script_injection_preference"
     63                 android:title="@string/accessibility_script_injection_title"
     64                 android:dialogTitle=""
     65                 android:dialogIcon="@android:drawable/ic_dialog_alert"
     66                 android:dialogMessage="@string/accessibility_script_injection_security_warning_summary"
     67                 android:positiveButtonText="@string/accessibility_script_injection_button_allow"
     68                 android:negativeButtonText="@string/accessibility_script_injection_button_disallow"
     69                 android:persistent="false"/>
     70 
     71     </PreferenceCategory>
     72 
     73 </PreferenceScreen>
     74