OSDN Git Service

Initial import from http://code.google.com/p/connectbot/ (r416)
[android-x86/packages-apps-ConnectBot.git] / res / xml / host_prefs.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <!--
3         ConnectBot: simple, powerful, open-source SSH client for Android
4         Copyright (C) 2007-2008 Kenny Root, Jeffrey Sharkey
5         
6         This program is free software: you can redistribute it and/or modify
7         it under the terms of the GNU General Public License as published by
8         the Free Software Foundation, either version 3 of the License, or
9         (at your option) any later version.
10         
11         This program is distributed in the hope that it will be useful,
12         but WITHOUT ANY WARRANTY; without even the implied warranty of
13         MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14         GNU General Public License for more details.
15         
16         You should have received a copy of the GNU General Public License
17         along with this program.  If not, see <http://www.gnu.org/licenses/>.
18 -->
19 <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
20
21         <EditTextPreference
22                 android:key="nickname"
23                 android:title="@string/hostpref_nickname_title"
24                 android:singleLine="true"
25                 />
26
27         <ListPreference
28                 android:key="color"
29                 android:title="@string/hostpref_color_title"
30                 android:entries="@array/list_colors"
31                 android:entryValues="@array/list_color_values"
32                 />
33 <!--  
34         <CheckBoxPreference
35                 android:key="usekeys"
36                 android:title="Use SSH keys"
37                 />
38 -->
39
40         <ListPreference
41                 android:key="pubkeyid"
42                 android:title="@string/hostpref_pubkeyid_title"
43                 android:entries="@array/list_pubkeyids"
44                 android:entryValues="@array/list_pubkeyids_value"
45                 />
46
47         <ListPreference
48                 android:key="useauthagent"
49                 android:title="@string/hostpref_authagent_title"
50                 android:entries="@array/list_authagent"
51                 android:entryValues="@array/list_authagent_values"
52                 />
53
54         <EditTextPreference
55                 android:key="postlogin"
56                 android:title="@string/hostpref_postlogin_title"
57                 android:summary="@string/hostpref_postlogin_summary"
58                 />
59                 
60         <CheckBoxPreference
61                 android:key="compression"
62                 android:title="@string/hostpref_compression_title"
63                 android:summary="@string/hostpref_compression_summary"
64                 />
65                 
66         <CheckBoxPreference
67                 android:key="wantsession"
68                 android:title="@string/hostpref_wantsession_title"
69                 android:summary="@string/hostpref_wantsession_summary"
70                 />
71
72         <CheckBoxPreference
73                 android:key="stayconnected"
74                 android:title="@string/hostpref_stayconnected_title"
75                 android:summary="@string/hostpref_stayconnected_summary"
76                 />
77
78         <ListPreference
79                 android:key="delkey"
80                 android:title="@string/hostpref_delkey_title"
81                 android:summary="@string/hostpref_delkey_summary"
82                 android:entries="@array/list_delkey"
83                 android:entryValues="@array/list_delkey_values"
84                 />
85
86         <ListPreference
87                 android:key="encoding"
88                 android:title="@string/hostpref_encoding_title"
89                 android:summary="@string/hostpref_encoding_summary"
90                 />
91         
92         <PreferenceCategory
93                 android:title="@string/hostpref_connection_category">
94                 
95                 <EditTextPreference
96                         android:key="username"
97                         android:title="@string/hostpref_username_title"
98                         android:singleLine="true"
99                         />
100
101                 <EditTextPreference
102                         android:key="hostname"
103                         android:title="@string/hostpref_hostname_title"
104                         android:singleLine="true"
105                         />
106
107                 <EditTextPreference
108                         android:key="port"
109                         android:title="@string/hostpref_port_title"
110                         android:numeric="integer"
111                         />
112
113         </PreferenceCategory>
114
115 </PreferenceScreen>