aboutsummaryrefslogtreecommitdiffstats
path: root/res/xml
diff options
context:
space:
mode:
authorJeffrey Sharkey <jsharkey@jsharkey.org>2008-09-11 21:55:38 +0000
committerJeffrey Sharkey <jsharkey@jsharkey.org>2008-09-11 21:55:38 +0000
commit071e39dc7e7d06c021a6d65ae7a65242c8ea99ed (patch)
tree71ac1b00fa9fc45cf155021879ab55f1ff395611 /res/xml
parent6681b4c809bf76cd558c5b314b6de9cfc98bc187 (diff)
downloadconnectbot-071e39dc7e7d06c021a6d65ae7a65242c8ea99ed.tar.gz
connectbot-071e39dc7e7d06c021a6d65ae7a65242c8ea99ed.tar.bz2
connectbot-071e39dc7e7d06c021a6d65ae7a65242c8ea99ed.zip
* WARNING: this build is broken lol
* moving more stuff over to new frontend gui in org.connectbot * found out that we dont need a contentprovider to make desktop shortcuts, will be easy to add ssh://user@host/ uri shortcut handling * new host-editing backend that uses preferences hack, will blog about this technique later today * using colors to categorize hosts (does this work?) * moved host-specific options (like disconnect/edit/delete) to long-tap menu instead of main menu
Diffstat (limited to 'res/xml')
-rw-r--r--res/xml/host_prefs.xml41
1 files changed, 41 insertions, 0 deletions
diff --git a/res/xml/host_prefs.xml b/res/xml/host_prefs.xml
new file mode 100644
index 0000000..9786416
--- /dev/null
+++ b/res/xml/host_prefs.xml
@@ -0,0 +1,41 @@
+<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
+
+ <EditTextPreference
+ android:key="nickname"
+ android:title="Nickname"
+ />
+
+ <ListPreference
+ android:key="color"
+ android:title="Color category"
+ android:entries="@array/list_colors"
+ android:entryValues="@array/list_colors"
+ />
+
+ <CheckBoxPreference
+ android:key="usekeys"
+ android:title="Use SSH keys"
+ />
+
+ <PreferenceCategory
+ android:title="Connection settings">
+
+ <EditTextPreference
+ android:key="username"
+ android:title="Username"
+ />
+
+ <EditTextPreference
+ android:key="hostname"
+ android:title="Host"
+ />
+
+ <EditTextPreference
+ android:key="port"
+ android:title="Port"
+ />
+
+ </PreferenceCategory>
+
+
+</PreferenceScreen> \ No newline at end of file