|
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/CLP_show_jid" |
|
46 android:defaultValue="false" android:key="show_jid" |
|
47 android:summary="@string/CLP_show_jid_sum"/> |
|
48 <CheckBoxPreference android:title="@string/away_chk_title" |
|
49 android:defaultValue="true" android:summary="@string/away_chk_sum" |
|
50 android:key="use_auto_away" /> |
|
51 <EditTextPreference android:dependency="use_auto_away" |
|
52 android:singleLine="true" android:summary="@string/away_message_sum" |
|
53 android:title="@string/away_message_title" android:key="auto_away_msg" |
|
54 android:hint="@string/away_message_hint" /> |
|
55 </PreferenceScreen> |
|
56 <PreferenceScreen android:key="chat" |
|
57 android:title="@string/chat_preferences" android:summary="@string/chat_preferences_sum"> |
|
58 <PreferenceCategory android:title="@string/history_preferences"> |
|
59 <CheckBoxPreference android:id="@+id/chat_history" |
|
60 android:title="@string/history" android:summary="@string/history_sum" |
|
61 android:defaultValue="false" android:key="settings_key_history" /> |
|
62 <EditTextPreference android:dependency="settings_key_history" |
|
63 android:singleLine="true" android:title="@string/chat_history_path" |
|
64 android:summary="@string/chat_history_path_sum" android:key="settings_chat_history_path" |
|
65 android:hint="/Android/data/com.beem.project.beem/chat/" /> |
|
66 </PreferenceCategory> |
|
67 <PreferenceCategory android:title="@string/chat_layout_option"> |
|
68 <CheckBoxPreference android:title="@string/settings_chat_compact" |
|
69 android:defaultValue="false" android:summary="@string/settings_chat_compact_sum" |
|
70 android:key="use_compact_chat_ui" /> |
|
71 </PreferenceCategory> |
|
72 </PreferenceScreen> |
|
73 <PreferenceScreen android:title="@string/notification_preferences"> |
|
74 <CheckBoxPreference android:title="@string/notification_enable_vibrate_title" |
|
75 android:defaultValue="true" android:summary="@string/notification_enable_vibrate_sum" |
|
76 android:key="notification_vibrate" /> |
|
77 <RingtonePreference android:title="@string/notification_snd_title" |
|
78 android:key="notification_sound" android:summary="@string/notification_snd_sum" |
|
79 android:defaultValue="content://settings/system/notification_sound" |
|
80 android:ringtoneType="notification" android:showDefault="true" /> |
|
81 </PreferenceScreen> |
|
82 </PreferenceCategory> |
|
83 <PreferenceCategory android:title="@string/user_preferences"> |
|
84 <Preference android:key="account_username" android:title="@string/settings_account_username"> |
|
85 <intent android:targetPackage="com.beem.project.beem" android:targetClass="com.beem.project.beem.ui.wizard.Account" /> |
|
86 </Preference> |
|
87 </PreferenceCategory> |
|
88 <PreferenceCategory android:title="@string/user_preferences_advanced"> |
|
89 <EditTextPreference android:key="connection_resource" |
|
90 android:title="@string/SettingsResourceTitle" android:summary="@string/SettingsResourceSummary" |
|
91 android:defaultValue="Beem" /> |
|
92 <EditTextPreference android:key="connection_priority" |
|
93 android:title="@string/SettingsPriorityTitle" android:summary="@string/SettingsPrioritySummary" |
|
94 android:numeric="signed" android:defaultValue="0" /> |
|
95 </PreferenceCategory> |
|
96 <PreferenceCategory android:title="@string/network_preferences"> |
|
97 <PreferenceScreen android:key="proxy" android:title="@string/SettingsProxy" |
|
98 android:summary="@string/settings_proxy_sum"> |
|
99 <CheckBoxPreference android:title="@string/SettingsProxyProxy" |
|
100 android:defaultValue="false" android:summary="@string/SettingsProxySummary" |
|
101 android:key="proxy_use" /> |
|
102 <PreferenceCategory android:title="@string/proxy_proxy_settings"> |
|
103 <ListPreference android:dependency="proxy_use" |
|
104 android:title="@string/SettingsProxyType" android:entries="@array/proxy_types" |
|
105 android:summary="@string/SettingsProxyTypeSummary" |
|
106 android:defaultValue="HTTP" android:entryValues="@array/proxy_types" |
|
107 android:key="proxy_type" /> |
|
108 <EditTextPreference android:singleLine="true" |
|
109 android:dependency="proxy_use" android:name="serveur" |
|
110 android:summary="@string/SettingsProxyServer" android:title="@string/settings_proxy_server" |
|
111 android:key="proxy_server" /> |
|
112 <EditTextPreference android:singleLine="true" |
|
113 android:dependency="proxy_use" android:name="port" |
|
114 android:summary="@string/SettingsProxyPort" android:title="@string/settings_proxy_port" |
|
115 android:key="proxy_port" android:numeric="signed" |
|
116 android:hint="@string/comments_proxy_port" /> |
|
117 </PreferenceCategory> |
|
118 <PreferenceCategory android:title="@string/proxy_user_settings"> |
|
119 <EditTextPreference android:singleLine="true" |
|
120 android:dependency="proxy_use" android:name="Utilisateur" |
|
121 android:summary="@string/SettingsProxyUser" android:title="@string/settings_proxy_username" |
|
122 android:key="proxy_username" /> |
|
123 <EditTextPreference android:singleLine="true" |
|
124 android:dependency="proxy_use" android:name="pass_user" |
|
125 android:password="true" android:summary="@string/SettingsProxyPassword" |
|
126 android:title="@string/settings_proxy_password" android:key="proxy_password" /> |
|
127 </PreferenceCategory> |
|
128 </PreferenceScreen> |
|
129 |
|
130 <PreferenceScreen android:key="advanced" |
|
131 android:title="@string/SettingsAdvanced" android:summary="@string/settings_advanced_sum"> |
|
132 <PreferenceCategory android:title="@string/settings_advanced_service_behaviour"> |
|
133 <CheckBoxPreference android:title="@string/settings_xmpp_use_tls" |
|
134 android:defaultValue="false" android:key="settings_key_xmpp_tls_use" /> |
|
135 <CheckBoxPreference android:title="@string/settings_smack_debug" |
|
136 android:defaultValue="false" android:key="smack_debug" /> |
|
137 <EditTextPreference android:singleLine="true" |
|
138 android:title="@string/settings_reco_delay" android:name="Reconnect delay" |
|
139 android:summary="@string/SettingsAdvancedRecoDelay" android:key="settings_key_reco_delay" |
|
140 android:defaultValue="10" /> |
|
141 </PreferenceCategory> |
|
142 <CheckBoxPreference android:title="@string/SettingsAdvancedOptions" |
|
143 android:defaultValue="false" android:summary="@string/SettingsAdvancedSpecOpt" |
|
144 android:key="account_specific_server" /> |
|
145 <EditTextPreference android:singleLine="true" |
|
146 android:dependency="account_specific_server" android:name="adresse" |
|
147 android:summary="@string/SettingsAdvancedAddOpt" android:title="@string/settings_xmpp_server" |
|
148 android:key="account_specific_server_host" android:hint="@string/comments_xmpp_server" /> |
|
149 <EditTextPreference android:singleLine="true" |
|
150 android:dependency="account_specific_server" android:name="port" |
|
151 android:summary="@string/SettingsAdvancedPortOpt" android:title="@string/settings_xmpp_port" |
|
152 android:defaultValue="5222" android:numeric="signed" android:key="account_specific_server_port" |
|
153 android:hint="@string/comments_xmpp_port" /> |
|
154 <CheckBoxPreference android:title="@string/settings_full_jid_login" |
|
155 android:defaultValue="false" android:summary="@string/settings_full_jid_login_sum" |
|
156 android:key="full_jid_login" /> |
|
157 </PreferenceScreen> |
|
158 </PreferenceCategory> |
|
159 </PreferenceScreen> |