comparison res/xml/host_prefs.xml @ 0:0ce5cc452d02

initial version
author Carl Byington <carl@five-ten-sg.com>
date Thu, 22 May 2014 10:41:19 -0700
parents
children ce8f13242339
comparison
equal deleted inserted replaced
-1:000000000000 0:0ce5cc452d02
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 <!--
44 <CheckBoxPreference
45 android:key="usekeys"
46 android:title="Use SSH keys"
47 />
48 -->
49
50 <ListPreference
51 android:key="pubkeyid"
52 android:title="@string/hostpref_pubkeyid_title"
53 android:entries="@array/list_pubkeyids"
54 android:entryValues="@array/list_pubkeyids_value"
55 />
56
57 <ListPreference
58 android:key="useauthagent"
59 android:title="@string/hostpref_authagent_title"
60 android:entries="@array/list_authagent"
61 android:entryValues="@array/list_authagent_values"
62 />
63
64 <EditTextPreference
65 android:key="postlogin"
66 android:title="@string/hostpref_postlogin_title"
67 android:summary="@string/hostpref_postlogin_summary"
68 />
69
70 <CheckBoxPreference
71 android:key="compression"
72 android:title="@string/hostpref_compression_title"
73 android:summary="@string/hostpref_compression_summary"
74 />
75
76 <EditTextPreference
77 android:key="httpproxy"
78 android:title="@string/hostpref_httpproxy_title"
79 android:summary="@string/hostpref_httpproxy_summary"
80 android:inputType="textUri"
81 />
82
83 <CheckBoxPreference
84 android:key="wantsession"
85 android:title="@string/hostpref_wantsession_title"
86 android:summary="@string/hostpref_wantsession_summary"
87 />
88
89 <CheckBoxPreference
90 android:key="stayconnected"
91 android:title="@string/hostpref_stayconnected_title"
92 android:summary="@string/hostpref_stayconnected_summary"
93 />
94
95 <ListPreference
96 android:key="delkey"
97 android:title="@string/hostpref_delkey_title"
98 android:summary="@string/hostpref_delkey_summary"
99 android:entries="@array/list_delkey"
100 android:entryValues="@array/list_delkey_values"
101 />
102
103 <ListPreference
104 android:key="encoding"
105 android:title="@string/hostpref_encoding_title"
106 android:summary="@string/hostpref_encoding_summary"
107 />
108
109 <PreferenceCategory
110 android:title="@string/hostpref_connection_category">
111
112 <EditTextPreference
113 android:key="username"
114 android:title="@string/hostpref_username_title"
115 android:singleLine="true"
116 />
117
118 <EditTextPreference
119 android:key="hostname"
120 android:title="@string/hostpref_hostname_title"
121 android:singleLine="true"
122 />
123
124 <EditTextPreference
125 android:key="port"
126 android:title="@string/hostpref_port_title"
127 android:numeric="integer"
128 />
129
130 <EditTextPreference
131 android:key="monitor"
132 android:title="@string/hostpref_monitor_title"
133 android:singleLine="true"
134 />
135 </PreferenceCategory>
136
137 <PreferenceCategory
138 android:title="@string/hostpref_x11_forwarding">
139
140 <CheckBoxPreference
141 android:key="wantx11forward"
142 android:title="@string/hostpref_wantx11forward_title"
143 android:summary="@string/hostpref_wantx11forward_summary"
144 />
145
146 <EditTextPreference
147 android:key="x11host"
148 android:title="@string/hostpref_x11host_title"
149 android:singleLine="true"
150 />
151
152 <EditTextPreference
153 android:key="x11port"
154 android:title="@string/hostpref_x11port_title"
155 android:numeric="integer"
156 />
157
158 </PreferenceCategory>
159
160 </PreferenceScreen>