comparison app/src/main/res/xml/host_prefs.xml @ 438:d29cce60f393

migrate from Eclipse to Android Studio
author Carl Byington <carl@five-ten-sg.com>
date Thu, 03 Dec 2015 11:23:55 -0800
parents res/xml/host_prefs.xml@dc6e53600ae2
children
comparison
equal deleted inserted replaced
437:208b31032318 438:d29cce60f393
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 <EditTextPreference
24 android:key="nickname"
25 android:title="@string/hostpref_nickname_title"
26 android:singleLine="true"
27 />
28
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 />
35
36 <EditTextPreference
37 android:key="fontsize"
38 android:title="@string/hostpref_fontsize_title"
39 android:inputType="number"
40 android:singleLine="true"
41 />
42
43 <CheckBoxPreference
44 android:key="fixed_size"
45 android:title="@string/hostpref_fixed_size_title"
46 android:summary="@string/hostpref_fixed_size_summary"
47 />
48
49 <EditTextPreference
50 android:key="fixed_width"
51 android:title="@string/hostpref_fixed_width_title"
52 android:defaultValue="80"
53 android:numeric="integer"
54 />
55
56 <EditTextPreference
57 android:key="fixed_height"
58 android:title="@string/hostpref_fixed_height_title"
59 android:defaultValue="25"
60 android:numeric="integer"
61 />
62
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 />
69
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 />
76
77 <EditTextPreference
78 android:key="postlogin"
79 android:title="@string/hostpref_postlogin_title"
80 android:summary="@string/hostpref_postlogin_summary"
81 />
82
83 <CheckBoxPreference
84 android:key="compression"
85 android:title="@string/hostpref_compression_title"
86 android:summary="@string/hostpref_compression_summary"
87 />
88
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 />
95
96 <CheckBoxPreference
97 android:key="wantsession"
98 android:title="@string/hostpref_wantsession_title"
99 android:summary="@string/hostpref_wantsession_summary"
100 />
101
102 <CheckBoxPreference
103 android:key="stayconnected"
104 android:title="@string/hostpref_stayconnected_title"
105 android:summary="@string/hostpref_stayconnected_summary"
106 />
107
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">
124
125 <EditTextPreference
126 android:key="username"
127 android:title="@string/hostpref_username_title"
128 android:singleLine="true"
129 />
130
131 <EditTextPreference
132 android:key="hostname"
133 android:title="@string/hostpref_hostname_title"
134 android:singleLine="true"
135 />
136
137 <EditTextPreference
138 android:key="port"
139 android:title="@string/hostpref_port_title"
140 android:numeric="integer"
141 />
142
143 <EditTextPreference
144 android:key="monitor"
145 android:title="@string/hostpref_monitor_title"
146 android:summary="@string/hostpref_monitor_summary"
147 android:singleLine="true"
148 />
149
150 <EditTextPreference
151 android:key="emulation"
152 android:title="@string/hostpref_emulation_title"
153 android:summary="@string/hostpref_emulation_summary"
154 android:singleLine="true"
155 />
156 </PreferenceCategory>
157
158
159 <PreferenceCategory
160 android:key="5250"
161 android:title="@string/hostpref_5250_settings">
162
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 />
169
170 <EditTextPreference
171 android:key="library5250"
172 android:title="@string/hostpref_5250_library_title"
173 android:singleLine="true"
174 />
175
176 <EditTextPreference
177 android:key="menu5250"
178 android:title="@string/hostpref_5250_menu_title"
179 android:singleLine="true"
180 />
181
182 <EditTextPreference
183 android:key="program5250"
184 android:title="@string/hostpref_5250_program_title"
185 android:singleLine="true"
186 />
187 </PreferenceCategory>
188
189
190 <PreferenceCategory
191 android:key="x11"
192 android:title="@string/hostpref_x11_forwarding">
193
194 <CheckBoxPreference
195 android:key="wantx11forward"
196 android:title="@string/hostpref_wantx11forward_title"
197 android:summary="@string/hostpref_wantx11forward_summary"
198 />
199
200 <EditTextPreference
201 android:key="x11host"
202 android:title="@string/hostpref_x11host_title"
203 android:singleLine="true"
204 />
205
206 <EditTextPreference
207 android:key="x11port"
208 android:title="@string/hostpref_x11port_title"
209 android:numeric="integer"
210 />
211
212 </PreferenceCategory>
213
214 </PreferenceScreen>