Mercurial > 510Connectbot
annotate res/xml/preferences.xml @ 248:0181323d0d33
add host preference for fixed screen size
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Mon, 14 Jul 2014 11:20:42 -0700 |
parents | f20a39b38f13 |
children |
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 <CheckBoxPreference | |
31 android:key="connPersist" | |
32 android:title="@string/pref_conn_persist_title" | |
33 android:summary="@string/pref_conn_persist_summary" | |
34 android:defaultValue="true" | |
35 /> | |
36 | |
37 <PreferenceCategory | |
38 android:title="@string/pref_emulation_category"> | |
39 | |
40 <ListPreference | |
41 android:key="emulation" | |
42 android:title="@string/pref_emulation_title" | |
43 android:summary="@string/pref_emulation_summary" | |
44 android:entries="@array/list_emulation_modes" | |
45 android:entryValues="@array/list_emulation_modes" | |
65
9a6335a203b2
allow host override terminal type
Carl Byington <carl@five-ten-sg.com>
parents:
61
diff
changeset
|
46 android:defaultValue="xterm-256color" |
0 | 47 /> |
48 | |
49 <EditTextPreference | |
50 android:key="scrollback" | |
51 android:title="@string/pref_scrollback_title" | |
52 android:summary="@string/pref_scrollback_summary" | |
53 android:defaultValue="140" | |
54 android:numeric="integer" | |
55 /> | |
56 | |
57 </PreferenceCategory> | |
58 | |
59 <PreferenceCategory | |
60 android:key="category_ui" | |
61 android:title="@string/pref_ui_category"> | |
62 | |
63 <ListPreference | |
64 android:key="rotation" | |
65 android:title="@string/pref_rotation_title" | |
66 android:summary="@string/pref_rotation_summary" | |
67 android:entries="@array/list_rotation" | |
68 android:entryValues="@array/list_rotation_values" | |
69 android:defaultValue="Default" | |
70 /> | |
71 | |
72 <CheckBoxPreference | |
73 android:key="shiftfkeys" | |
74 android:title="@string/pref_shiftfkeys_title" | |
75 android:summary="@string/pref_shiftfkeys_summary" | |
76 android:defaultValue="false" | |
77 /> | |
78 | |
79 <CheckBoxPreference | |
80 android:key="ctrlfkeys" | |
81 android:title="@string/pref_ctrlfkeys_title" | |
82 android:summary="@string/pref_ctrlfkeys_summary" | |
83 android:defaultValue="false" | |
84 /> | |
85 | |
86 <ListPreference | |
87 android:key="keymode" | |
88 android:title="@string/pref_keymode_title" | |
89 android:summary="@string/pref_keymode_summary" | |
90 android:entries="@array/list_keymode" | |
91 android:entryValues="@array/list_keymode_values" | |
92 android:defaultValue="Use right-side keys" | |
93 /> | |
94 | |
95 <ListPreference | |
96 android:key="camera" | |
97 android:title="@string/pref_camera_title" | |
98 android:summary="@string/pref_camera_summary" | |
99 android:entries="@array/list_hwbutton" | |
100 android:entryValues="@array/list_hwbutton_values" | |
101 android:defaultValue="Screen Capture" | |
102 /> | |
103 | |
104 <ListPreference | |
105 android:key="volup" | |
106 android:title="@string/pref_volup_title" | |
107 android:summary="@string/pref_volup_summary" | |
108 android:entries="@array/list_hwbutton" | |
109 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
|
110 android:defaultValue="Soft Function Keypad" |
0 | 111 /> |
112 | |
113 <ListPreference | |
114 android:key="voldn" | |
115 android:title="@string/pref_voldn_title" | |
116 android:summary="@string/pref_voldn_summary" | |
117 android:entries="@array/list_hwbutton" | |
118 android:entryValues="@array/list_hwbutton_values" | |
148
69333ca1563c
add ptt button p2 preference
Carl Byington <carl@five-ten-sg.com>
parents:
65
diff
changeset
|
119 android:defaultValue="Tab" |
0 | 120 /> |
121 | |
122 <ListPreference | |
123 android:key="search" | |
124 android:title="@string/pref_search_title" | |
125 android:summary="@string/pref_search_summary" | |
126 android:entries="@array/list_hwbutton" | |
127 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
|
128 android:defaultValue="Esc" |
0 | 129 /> |
130 | |
148
69333ca1563c
add ptt button p2 preference
Carl Byington <carl@five-ten-sg.com>
parents:
65
diff
changeset
|
131 <ListPreference |
69333ca1563c
add ptt button p2 preference
Carl Byington <carl@five-ten-sg.com>
parents:
65
diff
changeset
|
132 android:key="ptt" |
69333ca1563c
add ptt button p2 preference
Carl Byington <carl@five-ten-sg.com>
parents:
65
diff
changeset
|
133 android:title="@string/pref_ptt_title" |
69333ca1563c
add ptt button p2 preference
Carl Byington <carl@five-ten-sg.com>
parents:
65
diff
changeset
|
134 android:summary="@string/pref_ptt_summary" |
69333ca1563c
add ptt button p2 preference
Carl Byington <carl@five-ten-sg.com>
parents:
65
diff
changeset
|
135 android:entries="@array/list_hwbutton" |
69333ca1563c
add ptt button p2 preference
Carl Byington <carl@five-ten-sg.com>
parents:
65
diff
changeset
|
136 android:entryValues="@array/list_hwbutton_values" |
69333ca1563c
add ptt button p2 preference
Carl Byington <carl@five-ten-sg.com>
parents:
65
diff
changeset
|
137 android:defaultValue="Monitor Key" |
69333ca1563c
add ptt button p2 preference
Carl Byington <carl@five-ten-sg.com>
parents:
65
diff
changeset
|
138 /> |
69333ca1563c
add ptt button p2 preference
Carl Byington <carl@five-ten-sg.com>
parents:
65
diff
changeset
|
139 |
0 | 140 <CheckBoxPreference |
141 android:key="keepalive" | |
142 android:title="@string/pref_keepalive_title" | |
143 android:summary="@string/pref_keepalive_summary" | |
144 android:defaultValue="true" | |
145 /> | |
146 | |
147 <CheckBoxPreference | |
148 android:key="wifilock" | |
149 android:title="@string/pref_wifilock_title" | |
150 android:summary="@string/pref_wifilock_summary" | |
151 android:defaultValue="true" | |
152 /> | |
153 | |
154 <CheckBoxPreference | |
155 android:key="bumpyarrows" | |
156 android:title="@string/pref_bumpyarrows_title" | |
157 android:summary="@string/pref_bumpyarrows_summary" | |
158 android:defaultValue="true" | |
159 /> | |
160 | |
161 <CheckBoxPreference | |
162 android:key="extended_longpress" | |
163 android:title="@string/pref_extended_longpress" | |
164 android:summary="@string/pref_extended_longpress_summary" | |
165 android:defaultValue="false" | |
166 /> | |
167 | |
168 <EditTextPreference | |
169 android:key="ctrl_string" | |
170 android:title="@string/pref_ctrl_string" | |
171 android:summary="@string/pref_ctrl_string_summary" | |
172 android:defaultValue="ABCDEKLOQRWSTUXZ" | |
173 android:singleLine="true" | |
174 /> | |
175 | |
176 <EditTextPreference | |
177 android:key="picker_string" | |
178 android:title="@string/pref_picker_string" | |
179 android:summary="@string/pref_picker_string_summary" | |
180 android:defaultValue="~\\^()[]{}<>|/:_;,.!@#$%&*?\"'-+=" | |
181 android:singleLine="true" | |
182 /> | |
183 | |
184 <CheckBoxPreference | |
185 android:key="picker_keep_open" | |
186 android:title="@string/pref_picker_keep_open" | |
187 android:summary="@string/pref_picker_keep_open_summary" | |
188 android:defaultValue="false" | |
189 /> | |
190 | |
191 <ListPreference | |
192 android:key="list_custom_keymap" | |
193 android:title="@string/pref_custom_keymap_title" | |
194 android:summary="@string/pref_custom_keymap_summary" | |
195 android:entries="@array/list_custom_keymap" | |
196 android:entryValues="@array/list_custom_keymap_values" | |
197 android:defaultValue="none" | |
198 /> | |
199 </PreferenceCategory> | |
200 | |
201 <PreferenceCategory | |
202 android:title="@string/pref_bell_category"> | |
203 | |
204 <CheckBoxPreference | |
205 android:key="bell" | |
206 android:title="@string/pref_bell_title" | |
207 android:defaultValue="true" | |
208 /> | |
209 | |
210 <com.five_ten_sg.connectbot.util.VolumePreference | |
211 android:key="bellVolume" | |
212 android:title="@string/pref_bell_volume_title" | |
213 /> | |
214 | |
215 <CheckBoxPreference | |
216 android:key="bellVibrate" | |
217 android:title="@string/pref_bell_vibrate_title" | |
218 android:defaultValue="true" | |
219 /> | |
220 | |
221 <CheckBoxPreference | |
222 android:key="bellNotification" | |
223 android:title="@string/pref_bell_notification_title" | |
224 android:summary="@string/pref_bell_notification_summary" | |
225 android:defaultValue="false" | |
226 /> | |
227 </PreferenceCategory> | |
228 | |
229 <PreferenceCategory | |
230 android:title="@string/pref_screen_capture_category"> | |
231 | |
232 <EditTextPreference | |
233 android:key="screen_capture_folder" | |
234 android:title="@string/pref_screen_capture_folder" | |
235 android:summary="@string/pref_screen_capture_folder_summary" | |
236 android:inputType="text" | |
237 android:singleLine="true" | |
238 /> | |
239 | |
240 <CheckBoxPreference | |
241 android:key="screen_capture_popup" | |
242 android:title="@string/pref_screen_capture_popup" | |
243 android:summary="@string/pref_screen_capture_popup_summary" | |
244 android:defaultValue="true" | |
245 /> | |
246 </PreferenceCategory> | |
247 | |
248 <PreferenceCategory | |
249 android:title="@string/pref_file_transfer_category"> | |
250 | |
251 <ListPreference | |
252 android:key="file_dialog" | |
253 android:title="@string/pref_file_dialog_title" | |
254 android:summary="@string/pref_file_dialog_summary" | |
255 android:entries="@array/file_dialog" | |
256 android:entryValues="@array/file_dialog_values" | |
257 android:defaultValue="built-in" | |
258 /> | |
259 | |
260 <EditTextPreference | |
261 android:key="download_folder" | |
262 android:title="@string/pref_download_folder" | |
263 android:summary="@string/pref_download_folder_summary" | |
264 android:inputType="text" | |
265 android:singleLine="true" | |
266 /> | |
267 | |
268 <EditTextPreference | |
269 android:key="remote_upload_folder" | |
270 android:title="@string/pref_remote_upload_folder" | |
271 android:summary="@string/pref_remote_upload_folder_summary" | |
272 android:inputType="text" | |
273 android:singleLine="true" | |
274 android:defaultValue="" | |
275 /> | |
276 | |
277 <CheckBoxPreference | |
278 android:key="upload_dest_prompt" | |
279 android:title="@string/pref_upload_dest_prompt" | |
280 android:summary="@string/pref_upload_dest_prompt_summary" | |
281 android:defaultValue="true" | |
282 /> | |
283 | |
284 <CheckBoxPreference | |
285 android:key="background_file_transfer" | |
286 android:title="@string/pref_background_file_transfer" | |
287 android:summary="@string/pref_background_file_transfer_summary" | |
288 android:defaultValue="true" | |
289 /> | |
290 </PreferenceCategory> | |
291 | |
292 <PreferenceCategory | |
293 android:title="@string/pref_debug_category"> | |
294 | |
295 <CheckBoxPreference | |
296 android:key="debug_keycodes" | |
297 android:title="@string/pref_debug_keycodes" | |
298 android:summary="@string/pref_debug_keycodes_summary" | |
299 android:defaultValue="false" | |
300 /> | |
301 </PreferenceCategory> | |
302 </PreferenceScreen> |