Mercurial > 510Connectbot
annotate res/xml/preferences.xml @ 225:c6157535e180 stable-1.8.5
update version; consistent defaults for hardware buttons
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Tue, 08 Jul 2014 20:55:48 -0700 |
parents | f0b9ea35711a |
children | 83d633b281cb |
rev | line source |
---|---|
0 | 1 <?xml version="1.0" encoding="utf-8"?> |
2 <!-- | |
3 /* | |
4 * ConnectBot: simple, powerful, open-source SSH client for Android | |
5 * Copyright 2007 Kenny Root, Jeffrey Sharkey | |
6 * | |
7 * Licensed under the Apache License, Version 2.0 (the "License"); | |
8 * you may not use this file except in compliance with the License. | |
9 * You may obtain a copy of the License at | |
10 * | |
11 * http://www.apache.org/licenses/LICENSE-2.0 | |
12 * | |
13 * Unless required by applicable law or agreed to in writing, software | |
14 * distributed under the License is distributed on an "AS IS" BASIS, | |
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
16 * See the License for the specific language governing permissions and | |
17 * limitations under the License. | |
18 */ | |
19 --> | |
20 | |
21 <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"> | |
22 | |
23 <CheckBoxPreference | |
24 android:key="memkeys" | |
25 android:title="@string/pref_memkeys_title" | |
26 android:summary="@string/pref_memkeys_summary" | |
27 android:defaultValue="true" | |
28 /> | |
29 | |
30 <ListPreference | |
31 android:key="update" | |
32 android:title="@string/pref_update_title" | |
33 android:summary="@string/pref_update_summary" | |
34 android:entries="@array/list_update" | |
35 android:entryValues="@array/list_update_values" | |
36 android:defaultValue="Daily" | |
37 /> | |
38 | |
39 <CheckBoxPreference | |
40 android:key="connPersist" | |
41 android:title="@string/pref_conn_persist_title" | |
42 android:summary="@string/pref_conn_persist_summary" | |
43 android:defaultValue="true" | |
44 /> | |
45 | |
46 <PreferenceCategory | |
47 android:title="@string/pref_emulation_category"> | |
48 | |
49 <ListPreference | |
50 android:key="emulation" | |
51 android:title="@string/pref_emulation_title" | |
52 android:summary="@string/pref_emulation_summary" | |
53 android:entries="@array/list_emulation_modes" | |
54 android:entryValues="@array/list_emulation_modes" | |
65
9a6335a203b2
allow host override terminal type
Carl Byington <carl@five-ten-sg.com>
parents:
61
diff
changeset
|
55 android:defaultValue="xterm-256color" |
0 | 56 /> |
57 | |
58 <EditTextPreference | |
59 android:key="scrollback" | |
60 android:title="@string/pref_scrollback_title" | |
61 android:summary="@string/pref_scrollback_summary" | |
62 android:defaultValue="140" | |
63 android:numeric="integer" | |
64 /> | |
65 | |
66 </PreferenceCategory> | |
67 | |
68 <PreferenceCategory | |
69 android:key="category_ui" | |
70 android:title="@string/pref_ui_category"> | |
71 | |
72 <ListPreference | |
73 android:key="rotation" | |
74 android:title="@string/pref_rotation_title" | |
75 android:summary="@string/pref_rotation_summary" | |
76 android:entries="@array/list_rotation" | |
77 android:entryValues="@array/list_rotation_values" | |
78 android:defaultValue="Default" | |
79 /> | |
80 | |
81 <CheckBoxPreference | |
82 android:key="shiftfkeys" | |
83 android:title="@string/pref_shiftfkeys_title" | |
84 android:summary="@string/pref_shiftfkeys_summary" | |
85 android:defaultValue="false" | |
86 /> | |
87 | |
88 <CheckBoxPreference | |
89 android:key="ctrlfkeys" | |
90 android:title="@string/pref_ctrlfkeys_title" | |
91 android:summary="@string/pref_ctrlfkeys_summary" | |
92 android:defaultValue="false" | |
93 /> | |
94 | |
95 <CheckBoxPreference | |
96 android:key="volumefont" | |
97 android:title="@string/pref_volumefont_title" | |
98 android:summary="@string/pref_volumefont_summary" | |
99 android:defaultValue="true" | |
100 /> | |
101 | |
102 <ListPreference | |
103 android:key="keymode" | |
104 android:title="@string/pref_keymode_title" | |
105 android:summary="@string/pref_keymode_summary" | |
106 android:entries="@array/list_keymode" | |
107 android:entryValues="@array/list_keymode_values" | |
108 android:defaultValue="Use right-side keys" | |
109 /> | |
110 | |
111 <ListPreference | |
112 android:key="camera" | |
113 android:title="@string/pref_camera_title" | |
114 android:summary="@string/pref_camera_summary" | |
115 android:entries="@array/list_hwbutton" | |
116 android:entryValues="@array/list_hwbutton_values" | |
117 android:defaultValue="Screen Capture" | |
118 /> | |
119 | |
120 <ListPreference | |
121 android:key="volup" | |
122 android:title="@string/pref_volup_title" | |
123 android:summary="@string/pref_volup_summary" | |
124 android:entries="@array/list_hwbutton" | |
125 android:entryValues="@array/list_hwbutton_values" | |
225
c6157535e180
update version; consistent defaults for hardware buttons
Carl Byington <carl@five-ten-sg.com>
parents:
192
diff
changeset
|
126 android:defaultValue="Soft Function Keypad" |
0 | 127 /> |
128 | |
129 <ListPreference | |
130 android:key="voldn" | |
131 android:title="@string/pref_voldn_title" | |
132 android:summary="@string/pref_voldn_summary" | |
133 android:entries="@array/list_hwbutton" | |
134 android:entryValues="@array/list_hwbutton_values" | |
148
69333ca1563c
add ptt button p2 preference
Carl Byington <carl@five-ten-sg.com>
parents:
65
diff
changeset
|
135 android:defaultValue="Tab" |
0 | 136 /> |
137 | |
138 <ListPreference | |
139 android:key="search" | |
140 android:title="@string/pref_search_title" | |
141 android:summary="@string/pref_search_summary" | |
142 android:entries="@array/list_hwbutton" | |
143 android:entryValues="@array/list_hwbutton_values" | |
225
c6157535e180
update version; consistent defaults for hardware buttons
Carl Byington <carl@five-ten-sg.com>
parents:
192
diff
changeset
|
144 android:defaultValue="Esc" |
0 | 145 /> |
146 | |
148
69333ca1563c
add ptt button p2 preference
Carl Byington <carl@five-ten-sg.com>
parents:
65
diff
changeset
|
147 <ListPreference |
69333ca1563c
add ptt button p2 preference
Carl Byington <carl@five-ten-sg.com>
parents:
65
diff
changeset
|
148 android:key="ptt" |
69333ca1563c
add ptt button p2 preference
Carl Byington <carl@five-ten-sg.com>
parents:
65
diff
changeset
|
149 android:title="@string/pref_ptt_title" |
69333ca1563c
add ptt button p2 preference
Carl Byington <carl@five-ten-sg.com>
parents:
65
diff
changeset
|
150 android:summary="@string/pref_ptt_summary" |
69333ca1563c
add ptt button p2 preference
Carl Byington <carl@five-ten-sg.com>
parents:
65
diff
changeset
|
151 android:entries="@array/list_hwbutton" |
69333ca1563c
add ptt button p2 preference
Carl Byington <carl@five-ten-sg.com>
parents:
65
diff
changeset
|
152 android:entryValues="@array/list_hwbutton_values" |
69333ca1563c
add ptt button p2 preference
Carl Byington <carl@five-ten-sg.com>
parents:
65
diff
changeset
|
153 android:defaultValue="Monitor Key" |
69333ca1563c
add ptt button p2 preference
Carl Byington <carl@five-ten-sg.com>
parents:
65
diff
changeset
|
154 /> |
69333ca1563c
add ptt button p2 preference
Carl Byington <carl@five-ten-sg.com>
parents:
65
diff
changeset
|
155 |
0 | 156 <CheckBoxPreference |
157 android:key="keepalive" | |
158 android:title="@string/pref_keepalive_title" | |
159 android:summary="@string/pref_keepalive_summary" | |
160 android:defaultValue="true" | |
161 /> | |
162 | |
163 <CheckBoxPreference | |
164 android:key="wifilock" | |
165 android:title="@string/pref_wifilock_title" | |
166 android:summary="@string/pref_wifilock_summary" | |
167 android:defaultValue="true" | |
168 /> | |
169 | |
170 <CheckBoxPreference | |
171 android:key="bumpyarrows" | |
172 android:title="@string/pref_bumpyarrows_title" | |
173 android:summary="@string/pref_bumpyarrows_summary" | |
174 android:defaultValue="true" | |
175 /> | |
176 | |
177 <CheckBoxPreference | |
178 android:key="extended_longpress" | |
179 android:title="@string/pref_extended_longpress" | |
180 android:summary="@string/pref_extended_longpress_summary" | |
181 android:defaultValue="false" | |
182 /> | |
183 | |
184 <EditTextPreference | |
185 android:key="ctrl_string" | |
186 android:title="@string/pref_ctrl_string" | |
187 android:summary="@string/pref_ctrl_string_summary" | |
188 android:defaultValue="ABCDEKLOQRWSTUXZ" | |
189 android:singleLine="true" | |
190 /> | |
191 | |
192 <EditTextPreference | |
193 android:key="picker_string" | |
194 android:title="@string/pref_picker_string" | |
195 android:summary="@string/pref_picker_string_summary" | |
196 android:defaultValue="~\\^()[]{}<>|/:_;,.!@#$%&*?\"'-+=" | |
197 android:singleLine="true" | |
198 /> | |
199 | |
200 <CheckBoxPreference | |
201 android:key="picker_keep_open" | |
202 android:title="@string/pref_picker_keep_open" | |
203 android:summary="@string/pref_picker_keep_open_summary" | |
204 android:defaultValue="false" | |
205 /> | |
206 | |
207 <ListPreference | |
208 android:key="list_custom_keymap" | |
209 android:title="@string/pref_custom_keymap_title" | |
210 android:summary="@string/pref_custom_keymap_summary" | |
211 android:entries="@array/list_custom_keymap" | |
212 android:entryValues="@array/list_custom_keymap_values" | |
213 android:defaultValue="none" | |
214 /> | |
215 </PreferenceCategory> | |
216 | |
217 <PreferenceCategory | |
218 android:title="@string/pref_bell_category"> | |
219 | |
220 <CheckBoxPreference | |
221 android:key="bell" | |
222 android:title="@string/pref_bell_title" | |
223 android:defaultValue="true" | |
224 /> | |
225 | |
226 <com.five_ten_sg.connectbot.util.VolumePreference | |
227 android:key="bellVolume" | |
228 android:title="@string/pref_bell_volume_title" | |
229 /> | |
230 | |
231 <CheckBoxPreference | |
232 android:key="bellVibrate" | |
233 android:title="@string/pref_bell_vibrate_title" | |
234 android:defaultValue="true" | |
235 /> | |
236 | |
237 <CheckBoxPreference | |
238 android:key="bellNotification" | |
239 android:title="@string/pref_bell_notification_title" | |
240 android:summary="@string/pref_bell_notification_summary" | |
241 android:defaultValue="false" | |
242 /> | |
243 </PreferenceCategory> | |
244 | |
245 <PreferenceCategory | |
246 android:title="@string/pref_default_size_category"> | |
247 | |
248 <EditTextPreference | |
249 android:key="default_font_size" | |
250 android:title="@string/pref_default_font_size" | |
251 android:summary="@string/pref_default_font_size_summary" | |
252 android:defaultValue="0" | |
192
f0b9ea35711a
read deployment.connections on startup for global preferences also
Carl Byington <carl@five-ten-sg.com>
parents:
148
diff
changeset
|
253 android:numeric="decimal" |
0 | 254 /> |
255 | |
256 <EditTextPreference | |
257 android:key="default_fsize_width" | |
258 android:title="@string/pref_default_fsize_width" | |
259 android:summary="@string/pref_default_fsize_width_summary" | |
260 android:defaultValue="80" | |
261 android:numeric="integer" | |
262 /> | |
263 | |
264 <EditTextPreference | |
265 android:key="default_fsize_height" | |
266 android:title="@string/pref_default_fsize_height" | |
267 android:summary="@string/pref_default_fsize_height_summary" | |
268 android:defaultValue="25" | |
269 android:numeric="integer" | |
270 /> | |
271 </PreferenceCategory> | |
272 | |
273 <PreferenceCategory | |
274 android:title="@string/pref_screen_capture_category"> | |
275 | |
276 <EditTextPreference | |
277 android:key="screen_capture_folder" | |
278 android:title="@string/pref_screen_capture_folder" | |
279 android:summary="@string/pref_screen_capture_folder_summary" | |
280 android:inputType="text" | |
281 android:singleLine="true" | |
282 /> | |
283 | |
284 <CheckBoxPreference | |
285 android:key="screen_capture_popup" | |
286 android:title="@string/pref_screen_capture_popup" | |
287 android:summary="@string/pref_screen_capture_popup_summary" | |
288 android:defaultValue="true" | |
289 /> | |
290 </PreferenceCategory> | |
291 | |
292 <PreferenceCategory | |
293 android:title="@string/pref_file_transfer_category"> | |
294 | |
295 <ListPreference | |
296 android:key="file_dialog" | |
297 android:title="@string/pref_file_dialog_title" | |
298 android:summary="@string/pref_file_dialog_summary" | |
299 android:entries="@array/file_dialog" | |
300 android:entryValues="@array/file_dialog_values" | |
301 android:defaultValue="built-in" | |
302 /> | |
303 | |
304 <EditTextPreference | |
305 android:key="download_folder" | |
306 android:title="@string/pref_download_folder" | |
307 android:summary="@string/pref_download_folder_summary" | |
308 android:inputType="text" | |
309 android:singleLine="true" | |
310 /> | |
311 | |
312 <EditTextPreference | |
313 android:key="remote_upload_folder" | |
314 android:title="@string/pref_remote_upload_folder" | |
315 android:summary="@string/pref_remote_upload_folder_summary" | |
316 android:inputType="text" | |
317 android:singleLine="true" | |
318 android:defaultValue="" | |
319 /> | |
320 | |
321 <CheckBoxPreference | |
322 android:key="upload_dest_prompt" | |
323 android:title="@string/pref_upload_dest_prompt" | |
324 android:summary="@string/pref_upload_dest_prompt_summary" | |
325 android:defaultValue="true" | |
326 /> | |
327 | |
328 <CheckBoxPreference | |
329 android:key="background_file_transfer" | |
330 android:title="@string/pref_background_file_transfer" | |
331 android:summary="@string/pref_background_file_transfer_summary" | |
332 android:defaultValue="true" | |
333 /> | |
334 </PreferenceCategory> | |
335 | |
336 <PreferenceCategory | |
337 android:title="@string/pref_debug_category"> | |
338 | |
339 <CheckBoxPreference | |
340 android:key="debug_keycodes" | |
341 android:title="@string/pref_debug_keycodes" | |
342 android:summary="@string/pref_debug_keycodes_summary" | |
343 android:defaultValue="false" | |
344 /> | |
345 </PreferenceCategory> | |
346 </PreferenceScreen> |