Mercurial > 510Connectbot
annotate res/xml/host_prefs.xml @ 253:e13878bb3ddf
add host preference for fixed screen size
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Mon, 14 Jul 2014 12:44:57 -0700 |
parents | dc6e53600ae2 |
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 | |
61 | 23 <EditTextPreference |
24 android:key="nickname" | |
25 android:title="@string/hostpref_nickname_title" | |
26 android:singleLine="true" | |
27 /> | |
0 | 28 |
61 | 29 <ListPreference |
30 android:key="color" | |
31 android:title="@string/hostpref_color_title" | |
32 android:entries="@array/list_colors" | |
33 android:entryValues="@array/list_color_values" | |
34 /> | |
0 | 35 |
61 | 36 <EditTextPreference |
37 android:key="fontsize" | |
38 android:title="@string/hostpref_fontsize_title" | |
39 android:inputType="number" | |
40 android:singleLine="true" | |
41 /> | |
0 | 42 |
249
dc6e53600ae2
add host preference for fixed screen size
Carl Byington <carl@five-ten-sg.com>
parents:
123
diff
changeset
|
43 <CheckBoxPreference |
dc6e53600ae2
add host preference for fixed screen size
Carl Byington <carl@five-ten-sg.com>
parents:
123
diff
changeset
|
44 android:key="fixed_size" |
dc6e53600ae2
add host preference for fixed screen size
Carl Byington <carl@five-ten-sg.com>
parents:
123
diff
changeset
|
45 android:title="@string/hostpref_fixed_size_title" |
dc6e53600ae2
add host preference for fixed screen size
Carl Byington <carl@five-ten-sg.com>
parents:
123
diff
changeset
|
46 android:summary="@string/hostpref_fixed_size_summary" |
dc6e53600ae2
add host preference for fixed screen size
Carl Byington <carl@five-ten-sg.com>
parents:
123
diff
changeset
|
47 /> |
dc6e53600ae2
add host preference for fixed screen size
Carl Byington <carl@five-ten-sg.com>
parents:
123
diff
changeset
|
48 |
dc6e53600ae2
add host preference for fixed screen size
Carl Byington <carl@five-ten-sg.com>
parents:
123
diff
changeset
|
49 <EditTextPreference |
dc6e53600ae2
add host preference for fixed screen size
Carl Byington <carl@five-ten-sg.com>
parents:
123
diff
changeset
|
50 android:key="fixed_width" |
dc6e53600ae2
add host preference for fixed screen size
Carl Byington <carl@five-ten-sg.com>
parents:
123
diff
changeset
|
51 android:title="@string/hostpref_fixed_width_title" |
dc6e53600ae2
add host preference for fixed screen size
Carl Byington <carl@five-ten-sg.com>
parents:
123
diff
changeset
|
52 android:defaultValue="80" |
dc6e53600ae2
add host preference for fixed screen size
Carl Byington <carl@five-ten-sg.com>
parents:
123
diff
changeset
|
53 android:numeric="integer" |
dc6e53600ae2
add host preference for fixed screen size
Carl Byington <carl@five-ten-sg.com>
parents:
123
diff
changeset
|
54 /> |
dc6e53600ae2
add host preference for fixed screen size
Carl Byington <carl@five-ten-sg.com>
parents:
123
diff
changeset
|
55 |
dc6e53600ae2
add host preference for fixed screen size
Carl Byington <carl@five-ten-sg.com>
parents:
123
diff
changeset
|
56 <EditTextPreference |
dc6e53600ae2
add host preference for fixed screen size
Carl Byington <carl@five-ten-sg.com>
parents:
123
diff
changeset
|
57 android:key="fixed_height" |
dc6e53600ae2
add host preference for fixed screen size
Carl Byington <carl@five-ten-sg.com>
parents:
123
diff
changeset
|
58 android:title="@string/hostpref_fixed_height_title" |
dc6e53600ae2
add host preference for fixed screen size
Carl Byington <carl@five-ten-sg.com>
parents:
123
diff
changeset
|
59 android:defaultValue="25" |
dc6e53600ae2
add host preference for fixed screen size
Carl Byington <carl@five-ten-sg.com>
parents:
123
diff
changeset
|
60 android:numeric="integer" |
dc6e53600ae2
add host preference for fixed screen size
Carl Byington <carl@five-ten-sg.com>
parents:
123
diff
changeset
|
61 /> |
0 | 62 |
61 | 63 <ListPreference |
64 android:key="pubkeyid" | |
65 android:title="@string/hostpref_pubkeyid_title" | |
66 android:entries="@array/list_pubkeyids" | |
67 android:entryValues="@array/list_pubkeyids_value" | |
68 /> | |
0 | 69 |
61 | 70 <ListPreference |
71 android:key="useauthagent" | |
72 android:title="@string/hostpref_authagent_title" | |
73 android:entries="@array/list_authagent" | |
74 android:entryValues="@array/list_authagent_values" | |
75 /> | |
0 | 76 |
61 | 77 <EditTextPreference |
78 android:key="postlogin" | |
79 android:title="@string/hostpref_postlogin_title" | |
80 android:summary="@string/hostpref_postlogin_summary" | |
81 /> | |
0 | 82 |
61 | 83 <CheckBoxPreference |
84 android:key="compression" | |
85 android:title="@string/hostpref_compression_title" | |
86 android:summary="@string/hostpref_compression_summary" | |
87 /> | |
0 | 88 |
61 | 89 <EditTextPreference |
90 android:key="httpproxy" | |
91 android:title="@string/hostpref_httpproxy_title" | |
92 android:summary="@string/hostpref_httpproxy_summary" | |
93 android:inputType="textUri" | |
94 /> | |
0 | 95 |
61 | 96 <CheckBoxPreference |
97 android:key="wantsession" | |
98 android:title="@string/hostpref_wantsession_title" | |
99 android:summary="@string/hostpref_wantsession_summary" | |
100 /> | |
0 | 101 |
61 | 102 <CheckBoxPreference |
103 android:key="stayconnected" | |
104 android:title="@string/hostpref_stayconnected_title" | |
105 android:summary="@string/hostpref_stayconnected_summary" | |
106 /> | |
0 | 107 |
61 | 108 <ListPreference |
109 android:key="delkey" | |
110 android:title="@string/hostpref_delkey_title" | |
111 android:summary="@string/hostpref_delkey_summary" | |
112 android:entries="@array/list_delkey" | |
113 android:entryValues="@array/list_delkey_values" | |
114 /> | |
115 | |
116 <ListPreference | |
117 android:key="encoding" | |
118 android:title="@string/hostpref_encoding_title" | |
119 android:summary="@string/hostpref_encoding_summary" | |
120 /> | |
121 | |
122 <PreferenceCategory | |
123 android:title="@string/hostpref_connection_category"> | |
0 | 124 |
61 | 125 <EditTextPreference |
126 android:key="username" | |
127 android:title="@string/hostpref_username_title" | |
128 android:singleLine="true" | |
129 /> | |
0 | 130 |
61 | 131 <EditTextPreference |
132 android:key="hostname" | |
133 android:title="@string/hostpref_hostname_title" | |
134 android:singleLine="true" | |
135 /> | |
0 | 136 |
61 | 137 <EditTextPreference |
138 android:key="port" | |
139 android:title="@string/hostpref_port_title" | |
140 android:numeric="integer" | |
141 /> | |
0 | 142 |
61 | 143 <EditTextPreference |
144 android:key="monitor" | |
145 android:title="@string/hostpref_monitor_title" | |
90
3f587bd647a5
convert ctrl keys to virtual keys; use proper android home directory
Carl Byington <carl@five-ten-sg.com>
parents:
64
diff
changeset
|
146 android:summary="@string/hostpref_monitor_summary" |
61 | 147 android:singleLine="true" |
148 /> | |
0 | 149 |
61 | 150 <EditTextPreference |
64
c8f45608d94c
add 5250 config entries
Carl Byington <carl@five-ten-sg.com>
parents:
62
diff
changeset
|
151 android:key="emulation" |
61 | 152 android:title="@string/hostpref_emulation_title" |
62
aac8e0496ef9
add 5250 config entries
Carl Byington <carl@five-ten-sg.com>
parents:
61
diff
changeset
|
153 android:summary="@string/hostpref_emulation_summary" |
61 | 154 android:singleLine="true" |
155 /> | |
123
446dbcf606eb
add more 5250 config items; ignore drawing outside the screen
Carl Byington <carl@five-ten-sg.com>
parents:
90
diff
changeset
|
156 </PreferenceCategory> |
446dbcf606eb
add more 5250 config items; ignore drawing outside the screen
Carl Byington <carl@five-ten-sg.com>
parents:
90
diff
changeset
|
157 |
446dbcf606eb
add more 5250 config items; ignore drawing outside the screen
Carl Byington <carl@five-ten-sg.com>
parents:
90
diff
changeset
|
158 |
446dbcf606eb
add more 5250 config items; ignore drawing outside the screen
Carl Byington <carl@five-ten-sg.com>
parents:
90
diff
changeset
|
159 <PreferenceCategory |
446dbcf606eb
add more 5250 config items; ignore drawing outside the screen
Carl Byington <carl@five-ten-sg.com>
parents:
90
diff
changeset
|
160 android:key="5250" |
446dbcf606eb
add more 5250 config items; ignore drawing outside the screen
Carl Byington <carl@five-ten-sg.com>
parents:
90
diff
changeset
|
161 android:title="@string/hostpref_5250_settings"> |
0 | 162 |
61 | 163 <ListPreference |
164 android:key="encryption5250" | |
165 android:title="@string/hostpref_5250_encryption_title" | |
166 android:entries="@array/list_5250_encryption_modes" | |
167 android:entryValues="@array/list_5250_encryption_modes" | |
168 /> | |
123
446dbcf606eb
add more 5250 config items; ignore drawing outside the screen
Carl Byington <carl@five-ten-sg.com>
parents:
90
diff
changeset
|
169 |
446dbcf606eb
add more 5250 config items; ignore drawing outside the screen
Carl Byington <carl@five-ten-sg.com>
parents:
90
diff
changeset
|
170 <EditTextPreference |
446dbcf606eb
add more 5250 config items; ignore drawing outside the screen
Carl Byington <carl@five-ten-sg.com>
parents:
90
diff
changeset
|
171 android:key="library5250" |
446dbcf606eb
add more 5250 config items; ignore drawing outside the screen
Carl Byington <carl@five-ten-sg.com>
parents:
90
diff
changeset
|
172 android:title="@string/hostpref_5250_library_title" |
446dbcf606eb
add more 5250 config items; ignore drawing outside the screen
Carl Byington <carl@five-ten-sg.com>
parents:
90
diff
changeset
|
173 android:singleLine="true" |
446dbcf606eb
add more 5250 config items; ignore drawing outside the screen
Carl Byington <carl@five-ten-sg.com>
parents:
90
diff
changeset
|
174 /> |
446dbcf606eb
add more 5250 config items; ignore drawing outside the screen
Carl Byington <carl@five-ten-sg.com>
parents:
90
diff
changeset
|
175 |
446dbcf606eb
add more 5250 config items; ignore drawing outside the screen
Carl Byington <carl@five-ten-sg.com>
parents:
90
diff
changeset
|
176 <EditTextPreference |
446dbcf606eb
add more 5250 config items; ignore drawing outside the screen
Carl Byington <carl@five-ten-sg.com>
parents:
90
diff
changeset
|
177 android:key="menu5250" |
446dbcf606eb
add more 5250 config items; ignore drawing outside the screen
Carl Byington <carl@five-ten-sg.com>
parents:
90
diff
changeset
|
178 android:title="@string/hostpref_5250_menu_title" |
446dbcf606eb
add more 5250 config items; ignore drawing outside the screen
Carl Byington <carl@five-ten-sg.com>
parents:
90
diff
changeset
|
179 android:singleLine="true" |
446dbcf606eb
add more 5250 config items; ignore drawing outside the screen
Carl Byington <carl@five-ten-sg.com>
parents:
90
diff
changeset
|
180 /> |
446dbcf606eb
add more 5250 config items; ignore drawing outside the screen
Carl Byington <carl@five-ten-sg.com>
parents:
90
diff
changeset
|
181 |
446dbcf606eb
add more 5250 config items; ignore drawing outside the screen
Carl Byington <carl@five-ten-sg.com>
parents:
90
diff
changeset
|
182 <EditTextPreference |
446dbcf606eb
add more 5250 config items; ignore drawing outside the screen
Carl Byington <carl@five-ten-sg.com>
parents:
90
diff
changeset
|
183 android:key="program5250" |
446dbcf606eb
add more 5250 config items; ignore drawing outside the screen
Carl Byington <carl@five-ten-sg.com>
parents:
90
diff
changeset
|
184 android:title="@string/hostpref_5250_program_title" |
446dbcf606eb
add more 5250 config items; ignore drawing outside the screen
Carl Byington <carl@five-ten-sg.com>
parents:
90
diff
changeset
|
185 android:singleLine="true" |
446dbcf606eb
add more 5250 config items; ignore drawing outside the screen
Carl Byington <carl@five-ten-sg.com>
parents:
90
diff
changeset
|
186 /> |
61 | 187 </PreferenceCategory> |
0 | 188 |
61 | 189 |
190 <PreferenceCategory | |
123
446dbcf606eb
add more 5250 config items; ignore drawing outside the screen
Carl Byington <carl@five-ten-sg.com>
parents:
90
diff
changeset
|
191 android:key="x11" |
61 | 192 android:title="@string/hostpref_x11_forwarding"> |
0 | 193 |
61 | 194 <CheckBoxPreference |
195 android:key="wantx11forward" | |
196 android:title="@string/hostpref_wantx11forward_title" | |
197 android:summary="@string/hostpref_wantx11forward_summary" | |
198 /> | |
0 | 199 |
61 | 200 <EditTextPreference |
201 android:key="x11host" | |
202 android:title="@string/hostpref_x11host_title" | |
203 android:singleLine="true" | |
204 /> | |
0 | 205 |
61 | 206 <EditTextPreference |
207 android:key="x11port" | |
208 android:title="@string/hostpref_x11port_title" | |
209 android:numeric="integer" | |
210 /> | |
0 | 211 |
61 | 212 </PreferenceCategory> |
0 | 213 |
214 </PreferenceScreen> |