|
1 <?xml version="1.0" encoding="utf-8"?> |
|
2 <!-- |
|
3 BEEM is a videoconference application on the Android Platform. |
|
4 |
|
5 Copyright (C) 2009-2011 by Frederic-Charles Barthelery, |
|
6 Nikita Kozlov, |
|
7 Vincent Veronis. |
|
8 |
|
9 This file is part of BEEM. |
|
10 |
|
11 BEEM is free software: you can redistribute it and/or modify |
|
12 it under the terms of the GNU General Public License as published by |
|
13 the Free Software Foundation, either version 3 of the License, or |
|
14 (at your option) any later version. |
|
15 |
|
16 BEEM is distributed in the hope that it will be useful, |
|
17 but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
19 GNU General Public License for more details. |
|
20 |
|
21 You should have received a copy of the GNU General Public License |
|
22 along with BEEM. If not, see <http://www.gnu.org/licenses/>. |
|
23 |
|
24 Please send bug reports with examples or suggestions to |
|
25 contact@beem-project.com or http://www.beem-project.com/ |
|
26 |
|
27 --> |
|
28 <!-- |
|
29 The format of the preference key is defined in |
|
30 src/com/beem/project/beem/BeemApplication.java |
|
31 Basically it is just a simple name like account_username. |
|
32 TODO: There is still a lot of keys to convert |
|
33 --> |
|
34 <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" |
|
35 android:shouldDisableView="true" android:selectable="true"> |
|
36 <PreferenceCategory android:title="@string/general_preferences"> |
|
37 <PreferenceScreen android:key="contact_list" |
|
38 android:title="@string/contact_list_preferences" android:summary="@string/contact_list_preferences_sum"> |
|
39 <CheckBoxPreference android:title="@string/CLP_hidden_contact" |
|
40 android:defaultValue="false" android:summary="@string/CLP_hidden_contact_sum" |
|
41 android:key="show_offline_contacts" /> |
|
42 <CheckBoxPreference android:title="@string/CLP_hide_groups" |
|
43 android:defaultValue="false" android:summary="@string/CLP_hide_groups_sum" |
|
44 android:key="hide_groups" /> |
|
45 <CheckBoxPreference android:title="@string/away_chk_title" |
|
46 android:defaultValue="true" android:summary="@string/away_chk_sum" |
|
47 android:key="use_auto_away" /> |
|
48 <EditTextPreference android:dependency="use_auto_away" |
|
49 android:singleLine="true" android:summary="@string/away_message_sum" |
|
50 android:title="@string/away_message_title" android:key="auto_away_msg" |
|
51 android:hint="@string/away_message_hint" /> |
|
52 </PreferenceScreen> |
|
53 <PreferenceScreen android:key="chat" |
|
54 android:title="@string/chat_preferences" android:summary="@string/chat_preferences_sum"> |
|
55 <PreferenceCategory android:title="@string/history_preferences"> |
|
56 <CheckBoxPreference android:id="@+id/chat_history" |
|
57 android:title="@string/history" android:summary="@string/history_sum" |
|
58 android:defaultValue="false" android:key="settings_key_history" /> |
|
59 <EditTextPreference android:dependency="settings_key_history" |
|
60 android:singleLine="true" android:title="@string/chat_history_path" |
|
61 android:summary="@string/chat_history_path_sum" android:key="settings_chat_history_path" |
|
62 android:hint="/Android/data/com.beem.project.beem/chat/" /> |
|
63 </PreferenceCategory> |
|
64 <PreferenceCategory android:title="@string/chat_layout_option"> |
|
65 <CheckBoxPreference android:title="@string/settings_chat_compact" |
|
66 android:defaultValue="false" android:summary="@string/settings_chat_compact_sum" |
|
67 android:key="use_compact_chat_ui" /> |
|
68 </PreferenceCategory> |
|
69 </PreferenceScreen> |
|
70 <PreferenceScreen android:title="@string/notification_preferences"> |
|
71 <CheckBoxPreference android:title="@string/notification_enable_vibrate_title" |
|
72 android:defaultValue="true" android:summary="@string/notification_enable_vibrate_sum" |
|
73 android:key="notification_vibrate" /> |
|
74 <RingtonePreference android:title="@string/notification_snd_title" |
|
75 android:key="notification_sound" android:summary="@string/notification_snd_sum" |
|
76 android:defaultValue="content://settings/system/notification_sound" |
|
77 android:ringtoneType="notification" android:showDefault="true" /> |
|
78 </PreferenceScreen> |
|
79 </PreferenceCategory> |
|
80 <PreferenceCategory android:title="@string/user_preferences"> |
|
81 <EditTextPreference android:singleLine="true" |
|
82 android:summary="@string/SettingsText" android:title="@string/settings_account_username" |
|
83 android:key="account_username" android:hint="@string/login_username_info_default" |
|
84 android:inputType="textEmailAddress" /> |
|
85 <EditTextPreference android:name="password" |
|
86 android:singleLine="true" android:password="true" android:summary="@string/SettingsPassword" |
|
87 android:title="@string/settings_account_password" android:key="account_password" /> |
|
88 </PreferenceCategory> |
|
89 <PreferenceCategory android:title="@string/user_preferences_advanced"> |
|
90 <EditTextPreference android:key="connection_resource" |
|
91 android:title="@string/SettingsResourceTitle" android:summary="@string/SettingsResourceSummary" |
|
92 android:defaultValue="Beem" /> |
|
93 <EditTextPreference android:key="connection_priority" |
|
94 android:title="@string/SettingsPriorityTitle" android:summary="@string/SettingsPrioritySummary" |
|
95 android:numeric="signed" android:defaultValue="0" /> |
|
96 </PreferenceCategory> |
|
97 <PreferenceCategory android:title="@string/network_preferences"> |
|
98 <PreferenceScreen android:key="proxy" android:title="@string/SettingsProxy" |
|
99 android:summary="@string/settings_proxy_sum"> |
|
100 <CheckBoxPreference android:title="@string/SettingsProxyProxy" |
|
101 android:defaultValue="false" android:summary="@string/SettingsProxySummary" |
|
102 android:key="proxy_use" /> |
|
103 <PreferenceCategory android:title="@string/proxy_proxy_settings"> |
|
104 <ListPreference android:dependency="proxy_use" |
|
105 android:title="@string/SettingsProxyType" android:entries="@array/proxy_types" |
|
106 android:summary="@string/SettingsProxyTypeSummary" |
|
107 android:defaultValue="HTTP" android:entryValues="@array/proxy_types" |
|
108 android:key="proxy_type" /> |
|
109 <EditTextPreference android:singleLine="true" |
|
110 android:dependency="proxy_use" android:name="serveur" |
|
111 android:summary="@string/SettingsProxyServer" android:title="@string/settings_proxy_server" |
|
112 android:key="proxy_server" /> |
|
113 <EditTextPreference android:singleLine="true" |
|
114 android:dependency="proxy_use" android:name="port" |
|
115 android:summary="@string/SettingsProxyPort" android:title="@string/settings_proxy_port" |
|
116 android:key="proxy_port" android:numeric="signed" |
|
117 android:hint="@string/comments_proxy_port" /> |
|
118 </PreferenceCategory> |
|
119 <PreferenceCategory android:title="@string/proxy_user_settings"> |
|
120 <EditTextPreference android:singleLine="true" |
|
121 android:dependency="proxy_use" android:name="Utilisateur" |
|
122 android:summary="@string/SettingsProxyUser" android:title="@string/settings_proxy_username" |
|
123 android:key="proxy_username" /> |
|
124 <EditTextPreference android:singleLine="true" |
|
125 android:dependency="proxy_use" android:name="pass_user" |
|
126 android:password="true" android:summary="@string/SettingsProxyPassword" |
|
127 android:title="@string/settings_proxy_password" android:key="proxy_password" /> |
|
128 </PreferenceCategory> |
|
129 </PreferenceScreen> |
|
130 |
|
131 <PreferenceScreen android:key="advanced" |
|
132 android:title="@string/SettingsAdvanced" android:summary="@string/settings_advanced_sum"> |
|
133 <PreferenceCategory android:title="@string/settings_advanced_service_behaviour"> |
|
134 <CheckBoxPreference android:title="@string/settings_xmpp_use_tls" |
|
135 android:defaultValue="false" android:key="settings_key_xmpp_tls_use" /> |
|
136 <CheckBoxPreference android:title="@string/settings_smack_debug" |
|
137 android:defaultValue="false" android:key="smack_debug" /> |
|
138 <EditTextPreference android:singleLine="true" |
|
139 android:title="@string/settings_reco_delay" android:name="Reconnect delay" |
|
140 android:summary="@string/SettingsAdvancedRecoDelay" android:key="settings_key_reco_delay" |
|
141 android:defaultValue="10" /> |
|
142 </PreferenceCategory> |
|
143 <CheckBoxPreference android:title="@string/SettingsAdvancedOptions" |
|
144 android:defaultValue="false" android:summary="@string/SettingsAdvancedSpecOpt" |
|
145 android:key="settings_key_specific_server" /> |
|
146 <EditTextPreference android:singleLine="true" |
|
147 android:dependency="settings_key_specific_server" android:name="adresse" |
|
148 android:summary="@string/SettingsAdvancedAddOpt" android:title="@string/settings_xmpp_server" |
|
149 android:key="settings_key_xmpp_server" android:hint="@string/comments_xmpp_server" /> |
|
150 <EditTextPreference android:singleLine="true" |
|
151 android:dependency="settings_key_specific_server" android:name="port" |
|
152 android:summary="@string/SettingsAdvancedPortOpt" android:title="@string/settings_xmpp_port" |
|
153 android:defaultValue="5222" android:numeric="signed" android:key="settings_key_xmpp_port" |
|
154 android:hint="@string/comments_xmpp_port" /> |
|
155 <CheckBoxPreference android:title="@string/settings_full_jid_login" |
|
156 android:defaultValue="false" android:summary="@string/settings_full_jid_login_sum" |
|
157 android:key="full_jid_login" /> |
|
158 </PreferenceScreen> |
|
159 </PreferenceCategory> |
|
160 </PreferenceScreen> |