Mercurial > 510Connectbot
annotate res/xml/preferences.xml @ 86:213153ca62a2
convert ctrl keys to virtual keys; use proper android home directory
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Mon, 16 Jun 2014 11:31:58 -0700 |
parents | 9a6335a203b2 |
children | 69333ca1563c |
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" | |
126 android:defaultValue="None" | |
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" | |
135 android:defaultValue="None" | |
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" | |
144 android:defaultValue="None" | |
145 /> | |
146 | |
147 <CheckBoxPreference | |
148 android:key="keepalive" | |
149 android:title="@string/pref_keepalive_title" | |
150 android:summary="@string/pref_keepalive_summary" | |
151 android:defaultValue="true" | |
152 /> | |
153 | |
154 <CheckBoxPreference | |
155 android:key="wifilock" | |
156 android:title="@string/pref_wifilock_title" | |
157 android:summary="@string/pref_wifilock_summary" | |
158 android:defaultValue="true" | |
159 /> | |
160 | |
161 <CheckBoxPreference | |
162 android:key="bumpyarrows" | |
163 android:title="@string/pref_bumpyarrows_title" | |
164 android:summary="@string/pref_bumpyarrows_summary" | |
165 android:defaultValue="true" | |
166 /> | |
167 | |
168 <CheckBoxPreference | |
169 android:key="extended_longpress" | |
170 android:title="@string/pref_extended_longpress" | |
171 android:summary="@string/pref_extended_longpress_summary" | |
172 android:defaultValue="false" | |
173 /> | |
174 | |
175 <EditTextPreference | |
176 android:key="ctrl_string" | |
177 android:title="@string/pref_ctrl_string" | |
178 android:summary="@string/pref_ctrl_string_summary" | |
179 android:defaultValue="ABCDEKLOQRWSTUXZ" | |
180 android:singleLine="true" | |
181 /> | |
182 | |
183 <EditTextPreference | |
184 android:key="picker_string" | |
185 android:title="@string/pref_picker_string" | |
186 android:summary="@string/pref_picker_string_summary" | |
187 android:defaultValue="~\\^()[]{}<>|/:_;,.!@#$%&*?\"'-+=" | |
188 android:singleLine="true" | |
189 /> | |
190 | |
191 <CheckBoxPreference | |
192 android:key="picker_keep_open" | |
193 android:title="@string/pref_picker_keep_open" | |
194 android:summary="@string/pref_picker_keep_open_summary" | |
195 android:defaultValue="false" | |
196 /> | |
197 | |
198 <ListPreference | |
199 android:key="list_custom_keymap" | |
200 android:title="@string/pref_custom_keymap_title" | |
201 android:summary="@string/pref_custom_keymap_summary" | |
202 android:entries="@array/list_custom_keymap" | |
203 android:entryValues="@array/list_custom_keymap_values" | |
204 android:defaultValue="none" | |
205 /> | |
206 </PreferenceCategory> | |
207 | |
208 <PreferenceCategory | |
209 android:title="@string/pref_bell_category"> | |
210 | |
211 <CheckBoxPreference | |
212 android:key="bell" | |
213 android:title="@string/pref_bell_title" | |
214 android:defaultValue="true" | |
215 /> | |
216 | |
217 <com.five_ten_sg.connectbot.util.VolumePreference | |
218 android:key="bellVolume" | |
219 android:title="@string/pref_bell_volume_title" | |
220 /> | |
221 | |
222 <CheckBoxPreference | |
223 android:key="bellVibrate" | |
224 android:title="@string/pref_bell_vibrate_title" | |
225 android:defaultValue="true" | |
226 /> | |
227 | |
228 <CheckBoxPreference | |
229 android:key="bellNotification" | |
230 android:title="@string/pref_bell_notification_title" | |
231 android:summary="@string/pref_bell_notification_summary" | |
232 android:defaultValue="false" | |
233 /> | |
234 </PreferenceCategory> | |
235 | |
236 <PreferenceCategory | |
237 android:title="@string/pref_default_size_category"> | |
238 | |
239 <EditTextPreference | |
240 android:key="default_font_size" | |
241 android:title="@string/pref_default_font_size" | |
242 android:summary="@string/pref_default_font_size_summary" | |
243 android:defaultValue="0" | |
244 android:numeric="integer" | |
245 /> | |
246 | |
247 <EditTextPreference | |
248 android:key="default_fsize_width" | |
249 android:title="@string/pref_default_fsize_width" | |
250 android:summary="@string/pref_default_fsize_width_summary" | |
251 android:defaultValue="80" | |
252 android:numeric="integer" | |
253 /> | |
254 | |
255 <EditTextPreference | |
256 android:key="default_fsize_height" | |
257 android:title="@string/pref_default_fsize_height" | |
258 android:summary="@string/pref_default_fsize_height_summary" | |
259 android:defaultValue="25" | |
260 android:numeric="integer" | |
261 /> | |
262 </PreferenceCategory> | |
263 | |
264 <PreferenceCategory | |
265 android:title="@string/pref_screen_capture_category"> | |
266 | |
267 <EditTextPreference | |
268 android:key="screen_capture_folder" | |
269 android:title="@string/pref_screen_capture_folder" | |
270 android:summary="@string/pref_screen_capture_folder_summary" | |
271 android:inputType="text" | |
272 android:singleLine="true" | |
273 /> | |
274 | |
275 <CheckBoxPreference | |
276 android:key="screen_capture_popup" | |
277 android:title="@string/pref_screen_capture_popup" | |
278 android:summary="@string/pref_screen_capture_popup_summary" | |
279 android:defaultValue="true" | |
280 /> | |
281 </PreferenceCategory> | |
282 | |
283 <PreferenceCategory | |
284 android:title="@string/pref_file_transfer_category"> | |
285 | |
286 <ListPreference | |
287 android:key="file_dialog" | |
288 android:title="@string/pref_file_dialog_title" | |
289 android:summary="@string/pref_file_dialog_summary" | |
290 android:entries="@array/file_dialog" | |
291 android:entryValues="@array/file_dialog_values" | |
292 android:defaultValue="built-in" | |
293 /> | |
294 | |
295 <EditTextPreference | |
296 android:key="download_folder" | |
297 android:title="@string/pref_download_folder" | |
298 android:summary="@string/pref_download_folder_summary" | |
299 android:inputType="text" | |
300 android:singleLine="true" | |
301 /> | |
302 | |
303 <EditTextPreference | |
304 android:key="remote_upload_folder" | |
305 android:title="@string/pref_remote_upload_folder" | |
306 android:summary="@string/pref_remote_upload_folder_summary" | |
307 android:inputType="text" | |
308 android:singleLine="true" | |
309 android:defaultValue="" | |
310 /> | |
311 | |
312 <CheckBoxPreference | |
313 android:key="upload_dest_prompt" | |
314 android:title="@string/pref_upload_dest_prompt" | |
315 android:summary="@string/pref_upload_dest_prompt_summary" | |
316 android:defaultValue="true" | |
317 /> | |
318 | |
319 <CheckBoxPreference | |
320 android:key="background_file_transfer" | |
321 android:title="@string/pref_background_file_transfer" | |
322 android:summary="@string/pref_background_file_transfer_summary" | |
323 android:defaultValue="true" | |
324 /> | |
325 </PreferenceCategory> | |
326 | |
327 <PreferenceCategory | |
328 android:title="@string/pref_debug_category"> | |
329 | |
330 <CheckBoxPreference | |
331 android:key="debug_keycodes" | |
332 android:title="@string/pref_debug_keycodes" | |
333 android:summary="@string/pref_debug_keycodes_summary" | |
334 android:defaultValue="false" | |
335 /> | |
336 </PreferenceCategory> | |
337 </PreferenceScreen> |