author | Da Risk <darisk972@gmail.com> |
Sun, 15 Nov 2009 00:11:06 +0100 | |
changeset 524 | e1a9ba4611dc |
parent 496 | 3c83d2e2c478 |
child 526 | 62a448d5dfe9 |
permissions | -rw-r--r-- |
404
3c8ca2a1a327
changement de la gestion des settings.
Nikita Kozlov <nikita@beem-project.com>
parents:
diff
changeset
|
1 |
<?xml version="1.0" encoding="utf-8"?> |
496 | 2 |
<PreferenceScreen |
3 |
xmlns:android="http://schemas.android.com/apk/res/android" |
|
4 |
android:shouldDisableView="true" |
|
5 |
android:selectable="true"> |
|
6 |
||
7 |
<PreferenceCategory |
|
8 |
android:title="@string/general_preferences"> |
|
9 |
||
10 |
<PreferenceScreen |
|
11 |
android:key="contact_list" |
|
12 |
android:title="@string/contact_list_preferences" |
|
13 |
android:summary="@string/contact_list_preferences_sum"> |
|
14 |
||
15 |
<CheckBoxPreference |
|
16 |
android:title="@string/CLP_hidden_contact" |
|
17 |
android:defaultValue="false" |
|
18 |
android:summary="@string/CLP_hidden_contact_sum" |
|
19 |
android:key="settings_key_hidden_contact" /> |
|
20 |
||
21 |
</PreferenceScreen> |
|
22 |
||
23 |
</PreferenceCategory> |
|
24 |
||
25 |
<PreferenceCategory |
|
26 |
android:title="@string/user_preferences"> |
|
27 |
||
28 |
<EditTextPreference |
|
29 |
android:singleLine="true" |
|
30 |
android:summary="@string/SettingsText" |
|
31 |
android:title="@string/settings_account_username" |
|
32 |
android:key="settings_key_account_username" /> |
|
33 |
<EditTextPreference |
|
34 |
android:name="password" |
|
35 |
android:singleLine="true" |
|
36 |
android:password="true" |
|
37 |
android:summary="@string/SettingsPassword" |
|
38 |
android:title="@string/settings_account_password" |
|
39 |
android:key="settings_key_account_password" /> |
|
524
e1a9ba4611dc
Ajout d'options pour definir sa ressource et sa priorité
Da Risk <darisk972@gmail.com>
parents:
496
diff
changeset
|
40 |
<EditTextPreference |
e1a9ba4611dc
Ajout d'options pour definir sa ressource et sa priorité
Da Risk <darisk972@gmail.com>
parents:
496
diff
changeset
|
41 |
android:key="settings_key_resource" |
e1a9ba4611dc
Ajout d'options pour definir sa ressource et sa priorité
Da Risk <darisk972@gmail.com>
parents:
496
diff
changeset
|
42 |
android:title="@string/SettingsResourceTitle" |
e1a9ba4611dc
Ajout d'options pour definir sa ressource et sa priorité
Da Risk <darisk972@gmail.com>
parents:
496
diff
changeset
|
43 |
android:summary="@string/SettingsResourceSummary" |
e1a9ba4611dc
Ajout d'options pour definir sa ressource et sa priorité
Da Risk <darisk972@gmail.com>
parents:
496
diff
changeset
|
44 |
android:defaultValue="Beem" /> |
e1a9ba4611dc
Ajout d'options pour definir sa ressource et sa priorité
Da Risk <darisk972@gmail.com>
parents:
496
diff
changeset
|
45 |
<EditTextPreference |
e1a9ba4611dc
Ajout d'options pour definir sa ressource et sa priorité
Da Risk <darisk972@gmail.com>
parents:
496
diff
changeset
|
46 |
android:key="settings_key_priority" |
e1a9ba4611dc
Ajout d'options pour definir sa ressource et sa priorité
Da Risk <darisk972@gmail.com>
parents:
496
diff
changeset
|
47 |
android:title="@string/SettingsPriorityTitle" |
e1a9ba4611dc
Ajout d'options pour definir sa ressource et sa priorité
Da Risk <darisk972@gmail.com>
parents:
496
diff
changeset
|
48 |
android:summary="@string/SettingsPrioritySummary" |
e1a9ba4611dc
Ajout d'options pour definir sa ressource et sa priorité
Da Risk <darisk972@gmail.com>
parents:
496
diff
changeset
|
49 |
android:numeric="integer" |
e1a9ba4611dc
Ajout d'options pour definir sa ressource et sa priorité
Da Risk <darisk972@gmail.com>
parents:
496
diff
changeset
|
50 |
android:defaultValue="0" /> |
496 | 51 |
<CheckBoxPreference |
52 |
android:title="@string/SettingsCheckboxText" |
|
404
3c8ca2a1a327
changement de la gestion des settings.
Nikita Kozlov <nikita@beem-project.com>
parents:
diff
changeset
|
53 |
android:defaultValue="false" |
496 | 54 |
android:summary="@string/SettingsGmail" |
55 |
android:key="settings_key_gmail" /> |
|
56 |
||
57 |
</PreferenceCategory> |
|
58 |
||
59 |
<PreferenceCategory |
|
60 |
android:title="@string/network_preferences"> |
|
61 |
||
62 |
<PreferenceScreen |
|
63 |
android:key="proxy" |
|
64 |
android:title="@string/SettingsProxy" |
|
65 |
android:summary="@string/settings_proxy_sum"> |
|
66 |
||
67 |
<CheckBoxPreference |
|
68 |
android:title="@string/SettingsProxyProxy" |
|
69 |
android:defaultValue="false" |
|
70 |
android:summary="@string/SettingsProxySummary" |
|
71 |
android:key="settings_key_proxy_use" /> |
|
72 |
||
73 |
<PreferenceCategory |
|
74 |
android:title="@string/proxy_proxy_settings"> |
|
75 |
||
76 |
<ListPreference |
|
77 |
android:dependency="settings_key_proxy_use" |
|
78 |
android:title="@string/SettingsProxyType" |
|
79 |
android:entries="@array/proxy_types" |
|
80 |
android:summary="@string/SettingsProxyTypeSummary" |
|
81 |
android:defaultValue="HTTP" |
|
82 |
android:entryValues="@array/proxy_types" |
|
83 |
android:key="settings_key_proxy_type" /> |
|
84 |
||
85 |
<EditTextPreference |
|
86 |
android:singleLine="true" |
|
87 |
android:dependency="settings_key_proxy_use" |
|
88 |
android:name="serveur" |
|
89 |
android:summary="@string/SettingsProxyServer" |
|
90 |
android:title="@string/settings_proxy_server" |
|
91 |
android:key="settings_key_proxy_server" /> |
|
92 |
||
93 |
<EditTextPreference |
|
94 |
android:singleLine="true" |
|
95 |
android:dependency="settings_key_proxy_use" |
|
96 |
android:name="port" |
|
97 |
android:summary="@string/SettingsProxyPort" |
|
98 |
android:title="@string/settings_proxy_port" |
|
99 |
android:key="settings_key_proxy_port" /> |
|
100 |
||
101 |
</PreferenceCategory> |
|
102 |
||
103 |
<PreferenceCategory |
|
104 |
android:title="@string/proxy_user_settings"> |
|
105 |
||
106 |
<EditTextPreference |
|
107 |
android:singleLine="true" |
|
108 |
android:dependency="settings_key_proxy_use" |
|
109 |
android:name="Utilisateur" |
|
110 |
android:summary="@string/SettingsProxyUser" |
|
111 |
android:title="@string/settings_proxy_username" |
|
112 |
android:key="settings_key_proxy_username" /> |
|
404
3c8ca2a1a327
changement de la gestion des settings.
Nikita Kozlov <nikita@beem-project.com>
parents:
diff
changeset
|
113 |
|
496 | 114 |
<EditTextPreference |
115 |
android:singleLine="true" |
|
116 |
android:dependency="settings_key_proxy_use" |
|
117 |
android:name="pass_user" |
|
118 |
android:password="true" |
|
119 |
android:summary="@string/SettingsProxyPassword" |
|
120 |
android:title="@string/settings_proxy_password" |
|
121 |
android:key="settings_key_proxy_password" /> |
|
122 |
||
123 |
</PreferenceCategory> |
|
124 |
||
125 |
</PreferenceScreen> |
|
126 |
||
127 |
<PreferenceScreen |
|
128 |
android:key="advanced" |
|
129 |
android:title="@string/SettingsAdvanced" |
|
130 |
android:summary="@string/settings_advanced_sum"> |
|
131 |
||
132 |
<PreferenceCategory |
|
133 |
android:title="@string/settings_advanced_service_behaviour"> |
|
134 |
||
135 |
<CheckBoxPreference |
|
136 |
android:title="@string/settings_xmpp_use_tls" |
|
137 |
android:defaultValue="false" |
|
138 |
android:key="settings_key_xmpp_tls_use" /> |
|
139 |
||
140 |
<EditTextPreference |
|
141 |
android:singleLine="true" |
|
142 |
android:title="@string/settings_reco_delay" |
|
143 |
android:name="Reconnect delay" |
|
144 |
android:summary="@string/SettingsAdvancedRecoDelay" |
|
145 |
android:key="settings_key_reco_delay" |
|
146 |
android:defaultValue="10" /> |
|
147 |
||
148 |
</PreferenceCategory> |
|
149 |
||
150 |
<CheckBoxPreference |
|
151 |
android:title="@string/SettingsAdvancedOptions" |
|
152 |
android:defaultValue="false" |
|
153 |
android:summary="@string/SettingsAdvancedSpecOpt" |
|
154 |
android:key="settings_key_specific_server" /> |
|
155 |
||
156 |
<EditTextPreference |
|
157 |
android:singleLine="true" |
|
158 |
android:dependency="settings_key_specific_server" |
|
159 |
android:name="adresse" |
|
160 |
android:summary="@string/SettingsAdvancedAddOpt" |
|
161 |
android:title="@string/settings_xmpp_server" |
|
162 |
android:key="settings_key_xmpp_server"/> |
|
163 |
||
164 |
<EditTextPreference |
|
165 |
android:singleLine="true" |
|
166 |
android:dependency="settings_key_specific_server" |
|
167 |
android:name="port" |
|
168 |
android:summary="@string/SettingsAdvancedPortOpt" |
|
169 |
android:title="@string/settings_xmpp_port" |
|
170 |
android:defaultValue="5222" |
|
171 |
android:key="settings_key_xmpp_port" /> |
|
172 |
||
173 |
</PreferenceScreen> |
|
174 |
||
175 |
</PreferenceCategory> |
|
176 |
||
177 |
</PreferenceScreen> |