comparison res/xml/host_prefs.xml @ 61:ce8f13242339 tn5250

add 5250 config entries
author Carl Byington <carl@five-ten-sg.com>
date Fri, 13 Jun 2014 15:27:08 -0700
parents 0ce5cc452d02
children aac8e0496ef9
comparison
equal deleted inserted replaced
60:d9b27288a9d2 61:ce8f13242339
18 */ 18 */
19 --> 19 -->
20 20
21 <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"> 21 <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
22 22
23 <EditTextPreference 23 <EditTextPreference
24 android:key="nickname" 24 android:key="nickname"
25 android:title="@string/hostpref_nickname_title" 25 android:title="@string/hostpref_nickname_title"
26 android:singleLine="true" 26 android:singleLine="true"
27 /> 27 />
28 28
29 <ListPreference 29 <ListPreference
30 android:key="color" 30 android:key="color"
31 android:title="@string/hostpref_color_title" 31 android:title="@string/hostpref_color_title"
32 android:entries="@array/list_colors" 32 android:entries="@array/list_colors"
33 android:entryValues="@array/list_color_values" 33 android:entryValues="@array/list_color_values"
34 /> 34 />
35 35
36 <EditTextPreference 36 <EditTextPreference
37 android:key="fontsize" 37 android:key="fontsize"
38 android:title="@string/hostpref_fontsize_title" 38 android:title="@string/hostpref_fontsize_title"
39 android:inputType="number" 39 android:inputType="number"
40 android:singleLine="true" 40 android:singleLine="true"
41 /> 41 />
42 42
43 <!-- 43 <!--
44 <CheckBoxPreference 44 <CheckBoxPreference
45 android:key="usekeys" 45 android:key="usekeys"
46 android:title="Use SSH keys" 46 android:title="Use SSH keys"
47 /> 47 />
48 --> 48 -->
49 49
50 <ListPreference 50 <ListPreference
51 android:key="pubkeyid" 51 android:key="pubkeyid"
52 android:title="@string/hostpref_pubkeyid_title" 52 android:title="@string/hostpref_pubkeyid_title"
53 android:entries="@array/list_pubkeyids" 53 android:entries="@array/list_pubkeyids"
54 android:entryValues="@array/list_pubkeyids_value" 54 android:entryValues="@array/list_pubkeyids_value"
55 /> 55 />
56 56
57 <ListPreference 57 <ListPreference
58 android:key="useauthagent" 58 android:key="useauthagent"
59 android:title="@string/hostpref_authagent_title" 59 android:title="@string/hostpref_authagent_title"
60 android:entries="@array/list_authagent" 60 android:entries="@array/list_authagent"
61 android:entryValues="@array/list_authagent_values" 61 android:entryValues="@array/list_authagent_values"
62 /> 62 />
63 63
64 <EditTextPreference 64 <EditTextPreference
65 android:key="postlogin" 65 android:key="postlogin"
66 android:title="@string/hostpref_postlogin_title" 66 android:title="@string/hostpref_postlogin_title"
67 android:summary="@string/hostpref_postlogin_summary" 67 android:summary="@string/hostpref_postlogin_summary"
68 /> 68 />
69 69
70 <CheckBoxPreference 70 <CheckBoxPreference
71 android:key="compression" 71 android:key="compression"
72 android:title="@string/hostpref_compression_title" 72 android:title="@string/hostpref_compression_title"
73 android:summary="@string/hostpref_compression_summary" 73 android:summary="@string/hostpref_compression_summary"
74 /> 74 />
75 75
76 <EditTextPreference 76 <EditTextPreference
77 android:key="httpproxy" 77 android:key="httpproxy"
78 android:title="@string/hostpref_httpproxy_title" 78 android:title="@string/hostpref_httpproxy_title"
79 android:summary="@string/hostpref_httpproxy_summary" 79 android:summary="@string/hostpref_httpproxy_summary"
80 android:inputType="textUri" 80 android:inputType="textUri"
81 /> 81 />
82 82
83 <CheckBoxPreference 83 <CheckBoxPreference
84 android:key="wantsession" 84 android:key="wantsession"
85 android:title="@string/hostpref_wantsession_title" 85 android:title="@string/hostpref_wantsession_title"
86 android:summary="@string/hostpref_wantsession_summary" 86 android:summary="@string/hostpref_wantsession_summary"
87 /> 87 />
88 88
89 <CheckBoxPreference 89 <CheckBoxPreference
90 android:key="stayconnected" 90 android:key="stayconnected"
91 android:title="@string/hostpref_stayconnected_title" 91 android:title="@string/hostpref_stayconnected_title"
92 android:summary="@string/hostpref_stayconnected_summary" 92 android:summary="@string/hostpref_stayconnected_summary"
93 /> 93 />
94 94
95 <ListPreference 95 <ListPreference
96 android:key="delkey" 96 android:key="delkey"
97 android:title="@string/hostpref_delkey_title" 97 android:title="@string/hostpref_delkey_title"
98 android:summary="@string/hostpref_delkey_summary" 98 android:summary="@string/hostpref_delkey_summary"
99 android:entries="@array/list_delkey" 99 android:entries="@array/list_delkey"
100 android:entryValues="@array/list_delkey_values" 100 android:entryValues="@array/list_delkey_values"
101 /> 101 />
102 102
103 <ListPreference 103 <ListPreference
104 android:key="encoding" 104 android:key="encoding"
105 android:title="@string/hostpref_encoding_title" 105 android:title="@string/hostpref_encoding_title"
106 android:summary="@string/hostpref_encoding_summary" 106 android:summary="@string/hostpref_encoding_summary"
107 /> 107 />
108 108
109 <PreferenceCategory 109 <PreferenceCategory
110 android:title="@string/hostpref_connection_category"> 110 android:title="@string/hostpref_connection_category">
111 111
112 <EditTextPreference 112 <EditTextPreference
113 android:key="username" 113 android:key="username"
114 android:title="@string/hostpref_username_title" 114 android:title="@string/hostpref_username_title"
115 android:singleLine="true" 115 android:singleLine="true"
116 /> 116 />
117 117
118 <EditTextPreference 118 <EditTextPreference
119 android:key="hostname" 119 android:key="hostname"
120 android:title="@string/hostpref_hostname_title" 120 android:title="@string/hostpref_hostname_title"
121 android:singleLine="true" 121 android:singleLine="true"
122 /> 122 />
123 123
124 <EditTextPreference 124 <EditTextPreference
125 android:key="port" 125 android:key="port"
126 android:title="@string/hostpref_port_title" 126 android:title="@string/hostpref_port_title"
127 android:numeric="integer" 127 android:numeric="integer"
128 /> 128 />
129 129
130 <EditTextPreference 130 <EditTextPreference
131 android:key="monitor" 131 android:key="monitor"
132 android:title="@string/hostpref_monitor_title" 132 android:title="@string/hostpref_monitor_title"
133 android:singleLine="true" 133 android:singleLine="true"
134 /> 134 />
135 </PreferenceCategory>
136 135
137 <PreferenceCategory 136 <EditTextPreference
138 android:title="@string/hostpref_x11_forwarding"> 137 android:key="hostemulation"
138 android:title="@string/hostpref_emulation_title"
139 android:singleLine="true"
140 />
139 141
140 <CheckBoxPreference 142 <ListPreference
141 android:key="wantx11forward" 143 android:key="encryption5250"
142 android:title="@string/hostpref_wantx11forward_title" 144 android:title="@string/hostpref_5250_encryption_title"
143 android:summary="@string/hostpref_wantx11forward_summary" 145 android:entries="@array/list_5250_encryption_modes"
144 /> 146 android:entryValues="@array/list_5250_encryption_modes"
147 />
148 </PreferenceCategory>
145 149
146 <EditTextPreference
147 android:key="x11host"
148 android:title="@string/hostpref_x11host_title"
149 android:singleLine="true"
150 />
151 150
152 <EditTextPreference 151 <PreferenceCategory
153 android:key="x11port" 152 android:title="@string/hostpref_x11_forwarding">
154 android:title="@string/hostpref_x11port_title"
155 android:numeric="integer"
156 />
157 153
158 </PreferenceCategory> 154 <CheckBoxPreference
155 android:key="wantx11forward"
156 android:title="@string/hostpref_wantx11forward_title"
157 android:summary="@string/hostpref_wantx11forward_summary"
158 />
159
160 <EditTextPreference
161 android:key="x11host"
162 android:title="@string/hostpref_x11host_title"
163 android:singleLine="true"
164 />
165
166 <EditTextPreference
167 android:key="x11port"
168 android:title="@string/hostpref_x11port_title"
169 android:numeric="integer"
170 />
171
172 </PreferenceCategory>
159 173
160 </PreferenceScreen> 174 </PreferenceScreen>