1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2008 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:key="language_keyboard_settings"
20        android:title="@string/language_keyboard_settings_title">
21
22    <PreferenceScreen
23            android:key="phone_language"
24            android:title="@string/phone_language"
25            android:fragment="com.android.settings.LocalePicker"
26            />
27
28    <!-- Spell checker preference title, summary and fragment will be set programmatically. -->
29    <!-- Note: Mark this as persistent="false" to remove unnecessarily saved shared preference.
30         See: InputMethodAndSubtypeUtil.removeUnnecessaryNonPersistentPreference. -->
31    <PreferenceScreen
32            android:key="spellcheckers_settings"
33            android:title="@string/spellcheckers_settings_title"
34            android:persistent="false"
35            />
36
37    <!-- User dictionary preference title and fragment will be set programmatically. -->
38    <PreferenceScreen
39            android:key="key_user_dictionary_settings"
40            android:title="@string/user_dict_settings_title"
41            />
42
43    <PreferenceCategory
44            android:key="keyboard_settings_category"
45            android:title="@string/keyboard_settings_category">
46
47        <PreferenceScreen
48                android:key="current_input_method"
49                android:title="@string/current_input_method"
50                />
51        <!-- Enabled input method list will be populated programmatically here. -->
52    </PreferenceCategory>
53
54    <PreferenceCategory
55            android:key="hard_keyboard"
56            android:title="@string/builtin_keyboard_settings_title"
57            android:persistent="false">
58        <!-- Additional preference screens are inserted here programmatically
59             with low order values to set the key map of each attached keyboard. -->
60    </PreferenceCategory>
61
62    <PreferenceCategory
63            android:key="voice_category"
64            android:title="@string/voice_category" >
65
66        <PreferenceScreen
67                android:key="voice_input_settings"
68                android:title="@string/voice_input_settings_title"
69                android:fragment="com.android.settings.voice.VoiceInputSettings"
70                />
71
72        <PreferenceScreen
73                android:key="tts_settings"
74                android:title="@string/tts_settings_title"
75                android:fragment="com.android.settings.tts.TextToSpeechSettings"
76                />
77
78    </PreferenceCategory>
79
80    <PreferenceCategory
81            android:key="pointer_settings_category"
82            android:title="@string/pointer_settings_category">
83
84        <com.android.settings.PointerSpeedPreference
85                android:key="pointer_speed"
86                android:title="@string/pointer_speed"
87                android:dialogTitle="@string/pointer_speed"
88                />
89
90    </PreferenceCategory>
91
92    <PreferenceCategory
93            android:key="game_controller_settings_category"
94            android:title="@string/game_controller_settings_category">
95
96        <SwitchPreference
97                android:key="vibrate_input_devices"
98                android:title="@string/vibrate_input_devices"
99                android:summaryOn="@string/vibrate_input_devices_summary"
100                android:summaryOff="@string/vibrate_input_devices_summary"
101                android:persistent="false"
102                />
103
104    </PreferenceCategory>
105
106</PreferenceScreen>
107